Skip Navigation Links | |
Exit Print View | |
Oracle Solaris 11.1 Administration: Devices and File Systems Oracle Solaris 11.1 Information Library |
1. Managing Removable Media (Tasks)
2. Writing CDs and DVDs (Tasks)
4. Dynamically Configuring Devices (Tasks)
5. Managing USB Devices (Tasks)
6. Using InfiniBand Devices (Overview/Tasks)
9. Administering Disks (Tasks)
11. Configuring Storage Devices With COMSTAR (Tasks)
12. Configuring and Managing the Oracle Solaris Internet Storage Name Service (iSNS)
13. The format Utility (Reference)
14. Managing File Systems (Overview)
15. Creating and Mounting File Systems (Tasks)
16. Configuring Additional Swap Space (Tasks)
17. Copying Files and File Systems (Tasks)
Commands for Copying File Systems
Copying Directories Between File Systems (cpio Command)
How to Copy Directories Between File Systems (cpio)
Copying Files and File Systems to Tape
Copying Files to Tape (tar Command)
How to Copy Files to a Tape (tar)
How to List the Files on a Tape (tar)
How to Retrieve Files From a Tape (tar)
Copying Files to Tape With the cpio Command
How to Copy All Files in a Directory to a Tape (cpio)
How to List the Files on a Tape (cpio)
How to Retrieve All Files From a Tape (cpio)
How to Retrieve Specific Files From a Tape (cpio)
Copying Files to a Remote Tape Device
How to Copy Files to a Remote Tape Device (tar and dd)
How to Extract Files From a Remote Tape Device
$ 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 the pax(1) man page.
$ pax -f /dev/rmt/n
Example 17-5 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