Use the command of tar to multi-part archive method.

We usually meet the package too large to upload internat space when upload have a limited .So we need to split the package into several pieces

,then you can upload those after the split packages to your the specified space .

the command is following :

#tar czvf arcsight_dump_system_tables.sql.gz  arcsight_dump_system_tables.sql
#xaa xab
#cat xa* > arcsight_dump_system_tables.sql.gz

时间: 2024-11-05 00:00:40

Use the command of tar to multi-part archive method.的相关文章

tar命令参数笔记

是指的linux下的tar命令,该命令的用法相当多,以下的内容来自tar的info手册 --numeric-owner This option will notify 'tar' thar it should use numeric user and group IDs when creating a 'tar' file, rather than names. This option allows (ANSI) archives to be written without user/group

Linux Netcat command – The swiss army knife of net

Swiss Army Knife of networking netcat is a versatile tool that is able to read and write data across TCP and UDP network . Combined with other tools and redirection it can be used in number of ways in your scripts. You will be surprised to see what y

In Unix, what is tar, and how do I use it?

  In Unix, the name of the tar command is short for tape archiving, the storing of entire file systems onto magnetic tape, which is one use for the command. However, a more common use for tar is to simply combine a few files into a single file, for e

TAR 命令

Create linux tar gz (Gzip) archive   (创建压缩文件) tar -czvf myarchive.tgz mydirectory/ We use the -t option to create an linux tar archive c – Creates a new .tar archive file. v – Verbosely(啰嗦地) show the .tar file progress. f – File name type of the arch

tar、7z(7zip)压缩/解压缩指令的使用

本文介绍tar.7z指令的用法 tar指令 在Linux中,使用的最多的压缩/解压缩指令就是tar指令了. tar指令用来将多个文件/文件夹结构打包. 在实际使用中.往往使用tar对压缩的支持,即同一时候进行打包和压缩两步操作. 经常使用的下面几种文件格式能够由tar指令生成. .tar ~ 仅对文件/文件夹结构进行打包操作,不压缩: .tar.gz ~ 对文件/文件夹结构进行打包.并依照gzip格式进行压缩: .tar.bz2 ~对文件/文件夹结构进行打包,并依照bz2格式进行压缩: .tar

linux 中的 tar 解压

Type at the command prompt tar xvzf file-1.0.tar.gz - tgfo uncompress a gzip tar file (.tgz or .tar.gz) tar xvjf file-1.0.tar.bz2 - to uncompress a bzip2 tar file (.tbz or .tar.bz2) to extract the contents. tar xvf file-1.0.tar - to uncompressed tar

【Linux命令】linux一次性解压多个.gz或者.tar.gz文件

原文:linux一次性解压多个.gz或者.tar.gz文件 解压多个压缩包 对于解压多个.gz文件的,用此命令: for gz in *.gz; do gunzip $gz; done 对于解压多个.tar.gz文件的,用下面命令: for tar in *.tar.gz; do tar xvf $tar; done 扩展:tar命令 tar [-] A --catenate --concatenate | c --create | d --diff --compare | --delete |

tar 命令man说明

TAR(1) User Commands TAR(1) NAME tar - manual page for tar 1.26 SYNOPSIS tar [OPTION...] [FILE]... DESCRIPTION GNU `tar' saves many files together into a single tape or disk archive, and can restore individual files from the archive. Note that this m

tar命令--数据归档

虽然zip命令能够很好的将数据压缩和归档到单个文件,蛋挞不是linux 和unix的标准归档工具. ta命令最开始是用来将文件写到磁盘设备上的归档.然而他也能把输出写道文件里. 你会发现这个可选参数是真的多!!! 可以没有时间换成简易版:tar命令--数据归档(二) tar --help 用法: tar [选项...] [FILE]... GNU ‘tar’ 将许多文件一起保存至一个单独的磁带或磁盘归档,并能从归档中单独还原所需文件. 示例 tar -cf archive.tar foo bar