个人翻译
TAR(1) User Commands TAR(1)
NAME
名称
tar - manual page for tar 1.23
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.
GNU的tar同时保存许多文件到一个单独的磁带或磁盘档案中,同时可以从档案中恢复个人文件
EXAMPLES
例子
tar -cf archive.tar foo bar
# Create archive.tar from files foo and bar.
从foo和bar文件打包成 archive.tar
tar -tvf archive.tar
# List all files in archive.tar verbosely.
详细的列出档案.tar中所有文件
tar -xf archive.tar
# Extract all files from archive.tar.
分离出档案.tar中所有文件 ps: 解压
Main operation mode:
主要的操作代码
-A, --catenate, --concatenate
append tar files to an archive
追加文件到压缩包中
-c, --create
create a new archive
创建一个新的压缩档案
-d, --diff, --compare
find differences between archive and file system
找出压缩包和文件系统的不同
…skipping…
nil, existing
numbered if numbered backups exist, simple otherwise
如果编号备份存在就编号,否则
never, simple
always make simple backups
一直做简单的备份
Valid arguments for the –quoting-style option are:
有用的参数 – 引用 风格选项
literal shell shell-always c c-maybe escape locale clocale
文字shell
DEFAULTS
默认
This tar defaults to: –format=gnu -f- -b20 –quoting-style=escape –rmt-command=/sbin/rmt –rsh-command=/usr/bin/rsh
翻译时间:20170327