1 --- tar-1.13.18/tar.1.manpage Mon Oct 30 12:52:03 2000
2 +++ tar-1.13.18/tar.1 Mon Oct 30 12:56:15 2000
4 +.\" @(#)tar.1 1.13.14 2000/10/30 Bero;
5 +.TH TAR 1 "30 October 2000"
7 +tar \- The GNU version of the tar archiving utility
13 +.B A --catenate --concatenate \||\| c --create \||\| d --diff --compare \||\| r --append \||\| t --list \||\| u --update \||\| x -extract --get
18 +.B -b, --block-size N
21 +.B -B, --read-full-blocks
24 +.B -C, --directory DIR
30 +.B -f, --file [HOSTNAME:]F
36 +.B -F, --info-script F --new-volume-script F
42 +.B -g, --listed-incremental F
48 +.B -i, --ignore-zeros
54 +.B --ignore-failed-read
57 +.B -k, --keep-old-files
60 +.B -K, --starting-file F
63 +.B -l, --one-file-system
66 +.B -L, --tape-length N
69 +.B -m, --modification-time
72 +.B -M, --multi-volume
75 +.B -N, --after-date DATE, --newer DATE
78 +.B -o, --old-archive, --portability
84 +.B -p, --same-permissions, --preserve-permissions
87 +.B -P, --absolute-paths
93 +.B -R, --record-number
99 +.B -s, --same-order, --preserve-order
108 +.B -T, -I, --files-from=F
126 +.B -w, --interactive, --confirmation
135 +.B -X, --exclude-from FILE
138 +.B -Z, --compress, --uncompress
141 +.B -z, --gzip, --ungzip
144 +.B --use-compress-program PROG
153 +.I filename1 [ filename2, ... filenameN ]
155 +.I directory1 [ directory2, ...directoryN ]
158 +This manual page documents the GNU version of
160 +, an archiving program designed to store and extract files from
161 +an archive file known as a
165 +may be made on a tape drive, however, it is also common
169 +The first argument to
171 +must be one of the options:
173 +followed by any optional functions.
174 +The final arguments to
176 +are the names of the files or directories which should be archived. The use
177 +of a directory name always implies that the subdirectories below should be
178 +included in the archive.
179 +.SH "FUNCTION LETTERS"
181 +.B One of the following options must be used:
183 +.B -A, --catenate, --concatenate
184 +append tar files to an archive
187 +create a new archive
189 +.B -d, --diff, --compare
190 +find differences between archive and file system
193 +delete from the archive (not for use on mag tapes!)
196 +append files to the end of an archive
199 +list the contents of an archive
202 +only append files that are newer than copy in archive
204 +.B -x, --extract, --get
205 +extract files from an archive
209 +don't change access times on dumped files
211 +.B -b, --block-size N
212 +block size of Nx512 bytes (default N=20)
214 +.B -B, --read-full-blocks
215 +reblock as we read (for reading 4.2BSD pipes)
217 +.B -C, --directory DIR
218 +change to directory DIR
221 +print directory names while reading the archive
223 +.B -f, --file [HOSTNAME:]F
224 +use archive file or device F (default /dev/rmt0)
227 +archive file is local even if has a colon
229 +.B -F, --info-script F --new-volume-script F
230 +run script at end of each tape (implies -M)
232 +.B -G, --incremental
233 +create/list/extract old GNU-format incremental backup
235 +.B -g, --listed-incremental F
236 +create/list/extract new GNU-format incremental backup
238 +.B -h, --dereference
239 +don't dump symlinks; dump the files they point to
241 +.B -i, --ignore-zeros
242 +ignore blocks of zeros in archive (normally mean EOF)
245 +filter the archive through bzip2
247 +.B --ignore-failed-read
248 +don't exit with non-zero status on unreadable files
250 +.B -k, --keep-old-files
251 +keep existing files; don't overwrite them from archive
253 +.B -K, --starting-file F
254 +begin at file F in the archive
256 +.B -l, --one-file-system
257 +stay in local file system when creating an archive
259 +.B -L, --tape-length N
260 +change tapes after writing N*1024 bytes
262 +.B -m, --modification-time
263 +don't extract file modified time
265 +.B -M, --multi-volume
266 +create/list/extract multi-volume archive
268 +.B -N, --after-date DATE, --newer DATE
269 +only store files newer than DATE
271 +.B -o, --old-archive, --portability
272 +write a V7 format archive, rather than ANSI format
275 +extract files to standard output
277 +.B -p, --same-permissions, --preserve-permissions
278 +extract all protection information
280 +.B -P, --absolute-paths
281 +don't strip leading `/'s from file names
286 +.B -R, --record-number
287 +show record number within archive with each message
290 +remove files after adding them to the archive
292 +.B -s, --same-order, --preserve-order
293 +list of names to extract is sorted to match archive
296 +create extracted files with the same ownership
299 +handle sparse files efficiently
301 +.B -T, -I, --files-from=F
302 +get names to extract or create from file F
305 +-T reads null-terminated names, disable -C
308 +print total bytes written with --create
311 +verbosely list files processed
314 +create archive with volume name NAME
317 +print tar program version number
319 +.B -w, --interactive, --confirmation
320 +ask for confirmation for every action
323 +attempt to verify the archive after writing it
328 +.B -X, --exclude-from FILE
329 +exclude files listed in FILE
331 +.B -Z, --compress, --uncompress
332 +filter the archive through compress
334 +.B -z, --gzip, --ungzip
335 +filter the archive through gzip
337 +.B --use-compress-program PROG
338 +filter the archive through PROG (which must accept -d)