![]() |
![]() |
You can use wildcards to archive more than one file at a time. You can archive all the files in a directory, and you can use the subdir=yes option to include files in all subdirectories under that directory. Use the deletefiles option if you want to delete the files from your local workstation after they are archived and committed to storage.
For example, to archive the files in the /home/jones/proj directory and the files in its subdirectories, enter:
dsmc archive /home/jones/proj/ -subdir=yes -deletefiles
You can use more than one file specification on the archive command. For example, to archive the /home/jones/h1.doc and /home/jones/test.doc files, use:
dsmc archive /home/jones/h1.doc /home/jones/test.doc
Use the description option to assign a description to the archive:
dsmc archive /home/jones/h1.doc -description="Chapter 1, first version"
When the archive command completes, Tivoli Storage Manager displays archive processing statistics These statistics are also recorded in the schedule log for scheduled commands. See Archive for more information.