- 论坛徽章:
- 0
|
man tar
User Commands tar(1)
NAME
tar - create tape archives and add or extract files
SYNOPSIS
tar c[BDeEFhilnopPqTvw@[0-7]][bf k ][X...] [blocksize]
[tarfile] [ size ] [exclude-file]...
{file | -I include-file | -C directory file}...
tar r[BDeEFhilnqTvw@[0-7]][bf k ] [blocksize] [tarfile]
[ size ]
{file | -I include-file | -C directory file}...
tar t[BeFhilnqTv[0-7]][f k ][X...] [tarfile] [ size ]
[exclude-file]... {file | -I include-file}...
tar u[BDeEFhilnqTvw@[0-7]][bf k ] [blocksize] [tarfile]
[ size ] file...
tar x[BeFhilmnopqTvw[0-7]][f k ][X...] [tarfile] [ size ]
[exclude-file]... [file]...
DESCRIPTION
The tar command archives and extracts files to and from a
single file called a tarfile. A tarfile is usually a mag-
netic tape, but it can be any file. tar's actions are con-
trolled by the key argument. The key is a string of charac-
ters containing exactly one function letter (c, r, t , u, or
k Requires tar to use the size argument as the
size of an archive in kilobytes. This is use-
ful when the archive is intended for a fixed
size device such as floppy disks. Large files
are then split across volumes if they do not
fit in the specified size.
示例:
tar cfk /dev/rmt/0 10240 ~
tar: please insert new volume, then press RETURN.
tar: please insert new volume, then press RETURN.
tar: please insert new volume, then press RETURN.
.... |
|