![]() |
![]() |
The archive command archives a single file, selected files, or all files in a directory and its subdirectories on a server.
Archive files that you want to preserve in their current condition. To release storage space on your workstation, delete files as you archive them using the deletefiles option. Retrieve the archived files to your workstation whenever you need them again.
Supported Clients
This command is valid for all UNIX clients.
Syntax
.-----------------.
V |
>>-ARchive--+----------+----+- filespec---+-+------------------><
'- options-' '- "filespec"-'
Parameters
You can use the changingretries and subdir common options with the archive command. See Chapter 9, Setting Processing Options for information about these common options.
Examples
Command: archive /home/proj1/budget
Command: archive "/home/proj1/*.txt"
Command: archive -subdir=yes "/home/*"