files to or restores
files from an archive medium. If any
files are directories, tar acts on the entire subtree. Options need not be preceded by a dash (-), although they may be. Note that until native drivers for tape drives exist for Mac OS X, tar can't write to tape. Note also that tar doesn't preserve resource forks or metadata when copying files that contain them.
For a complete list of tar's options, please see the manpage.
You must use exactly one of these, and it must come before any other options:
Create a new archive.
files to the end of an existing archive.
Print the names of
files if they are stored on the archive (if
files aren't specified, print names of all files).
files from an archive (if
files aren't specified, extract all files).
Set block size to 512 bytes.
If there is an error, stop.
Store files in or extract files from archive
arch. The default is /dev/rst0. Because Mac OS X has no native tape drive support, tar produces an error unless the -f option is used.
Dereference symbolic links.
Don't restore file modification times; update them to the time of extraction.
Create non-POSIX archives .
Don't create archives with directory information that v7 tar can't decode.
Keep ownership of extracted files the same as that of original permissions.
Using ed-style regular expressions, change filenames in the archive.