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