$ pax -w -f /dev/rmt/n filenames
Enables the write mode.
Identifies the tape drive.
Indicates the files and directories that you want to copy. Separate multiple files with spaces.
For more information, see pax(1).
$ pax -f /dev/rmt/n
The following example shows how to use the pax command to copy all the files in the current directory.
$ pax -w -f /dev/rmt/0 . $ pax -f /dev/rmt/0 filea fileb filec