Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




System Administration Guide: Devices and File Systems
Previous Next

Copying Files to a Tape With the pax Command

How to Copy Files to a Tape (pax)

  1. Change to the directory that contains the files you want to copy.
  2. Insert a write-enabled tape into the tape drive.
  3. Copy the files to tape.
    $ pax -w -f /dev/rmt/n filenames

    Enables the write mode.

    -f /dev/rmt/n

    Identifies the tape drive.


    Indicates the files and directories that you want to copy. Separate multiple files with spaces.

    For more information, see the pax(1) man page.

  4. Verify that the files have been copied to tape.
    $ pax -f /dev/rmt/n
  5. Remove the tape from the drive. Write the names of the files on the tape label.
Example 29-7 Copying Files to a Tape (pax)

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
Previous Next

  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire