1 --- /dev/null Mon Dec 31 23:00:00 1979
2 +++ tar-1.11.8/tar.1 Sun Jul 23 21:28:52 1995
4 +.\" @(#)tar.1 1.11.1 93/19/22 PJV;
5 +.TH TAR 1 "22 September 1993"
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
51 +.B --ignore-failed-read
54 +.B -k, --keep-old-files
57 +.B -K, --starting-file F
60 +.B -l, --one-file-system
63 +.B -L, --tape-length N
66 +.B -m, --modification-time
69 +.B -M, --multi-volume
72 +.B -N, --after-date DATE, --newer DATE
75 +.B -o, --old-archive, --portability
81 +.B -p, --same-permissions, --preserve-permissions
84 +.B -P, --absolute-paths
90 +.B -R, --record-number
96 +.B -s, --same-order, --preserve-order
105 +.B -T, --files-from F
123 +.B -w, --interactive, --confirmation
132 +.B -X, --exclude-from FILE
135 +.B -Z, --compress, --uncompress
138 +.B -z, --gzip, --ungzip
141 +.B --use-compress-program PROG
150 +.I filename1 [ filename2, ... filenameN ]
152 +.I directory1 [ directory2, ...directoryN ]
155 +This manual page documents the GNU version of
157 +, an archiving program designed to store and extract files from
158 +an archive file known as a
162 +may be made on a tape drive, however, it is also common
166 +The first argument to
168 +must be one of the options:
170 +followed by any optional functions.
171 +The final arguments to
173 +are the names of the files or directories which should be archived. The use
174 +of a directory name always implies that the subdirectories below should be
175 +included in the archive.
176 +.SH "FUNCTION LETTERS"
178 +.B One of the following options must be used:
180 +.B -A, --catenate, --concatenate
181 +append tar files to an archive
184 +create a new archive
186 +.B -d, --diff, --compare
187 +find differences between archive and file system
190 +delete from the archive (not for use on mag tapes!)
193 +append files to the end of an archive
196 +list the contents of an archive
199 +only append files that are newer than copy in archive
201 +.B -x, --extract, --get
202 +extract files from an archive
206 +don't change access times on dumped files
208 +.B -b, --block-size N
209 +block size of Nx512 bytes (default N=20)
211 +.B -B, --read-full-blocks
212 +reblock as we read (for reading 4.2BSD pipes)
214 +.B -C, --directory DIR
215 +change to directory DIR
218 +print directory names while reading the archive
220 +.B -f, --file [HOSTNAME:]F
221 +use archive file or device F (default /dev/rmt0)
224 +archive file is local even if has a colon
226 +.B -F, --info-script F --new-volume-script F
227 +run script at end of each tape (implies -M)
229 +.B -G, --incremental
230 +create/list/extract old GNU-format incremental backup
232 +.B -g, --listed-incremental F
233 +create/list/extract new GNU-format incremental backup
235 +.B -h, --dereference
236 +don't dump symlinks; dump the files they point to
238 +.B -i, --ignore-zeros
239 +ignore blocks of zeros in archive (normally mean EOF)
241 +.B --ignore-failed-read
242 +don't exit with non-zero status on unreadable files
244 +.B -k, --keep-old-files
245 +keep existing files; don't overwrite them from archive
247 +.B -K, --starting-file F
248 +begin at file F in the archive
250 +.B -l, --one-file-system
251 +stay in local file system when creating an archive
253 +.B -L, --tape-length N
254 +change tapes after writing N*1024 bytes
256 +.B -m, --modification-time
257 +don't extract file modified time
259 +.B -M, --multi-volume
260 +create/list/extract multi-volume archive
262 +.B -N, --after-date DATE, --newer DATE
263 +only store files newer than DATE
265 +.B -o, --old-archive, --portability
266 +write a V7 format archive, rather than ANSI format
269 +extract files to standard output
271 +.B -p, --same-permissions, --preserve-permissions
272 +extract all protection information
274 +.B -P, --absolute-paths
275 +don't strip leading `/'s from file names
280 +.B -R, --record-number
281 +show record number within archive with each message
284 +remove files after adding them to the archive
286 +.B -s, --same-order, --preserve-order
287 +list of names to extract is sorted to match archive
290 +create extracted files with the same ownership
293 +handle sparse files efficiently
295 +.B -T, --files-from F
296 +get names to extract or create from file F
299 +-T reads null-terminated names, disable -C
302 +print total bytes written with --create
305 +verbosely list files processed
308 +create archive with volume name NAME
311 +print tar program version number
313 +.B -w, --interactive, --confirmation
314 +ask for confirmation for every action
317 +attempt to verify the archive after writing it
322 +.B -X, --exclude-from FILE
323 +exclude files listed in FILE
325 +.B -Z, --compress, --uncompress
326 +filter the archive through compress
328 +.B -z, --gzip, --ungzip
329 +filter the archive through gzip
331 +.B --use-compress-program PROG
332 +filter the archive through PROG (which must accept -d)
335 +block the output of compression program for tapes
338 +specify drive and density