files to or restores
files from an
archive medium. An enhanced
usually the preferred utility because
handle much longer pathnames than
gnutar’s default omission of the
leading slash in pathnames allows archives to be more easily opened
on other systems. Note that until native drivers for tape drives
exist for Mac OS X,
write to tape. Note also that
doesn’t preserve resource forks or HFS metadata when
copying files that contain them.
gnutar is installed on Mac OS X as part of
Apple’s Xcode Tools.
You must use exactly one of these, and it must come before any other options:
Concatenate a second tar file on to the end of the first.
Create a new archive.
Compare the files stored in
other-files. Report any differences, such as missing files, different sizes, different file attributes (such as permissions or modification time).
other-filesfrom the archive.
other-filesto the end of an existing archive.
Print the names of
other-filesif they are stored on the archive (if
other-filesaren’t specified, print names of all files).
Add files if not in the archive or if modified.
other-filesfrom an archive (if
other-filesaren’t specified, extract all files).
Display help information. ...