tar. We will illustrate with an example.
Change directory to where your files are, e.g.
$E154ANL1/spect5. The following command will consolidate all the files
in your current working directory to the single file
in the directory
tar cf /nfs/juno/work/young/spect5.tar .
/tmpdirectory of most computers is probably not a good place.
juno, and issue the command
ds &. You should get the initial WDSF window:
Click on the
Archive button, and select
by file specification... to get the
DataSave - Archive
Enter the filenames you want to archive, using wildcard characters in the
And then click
see a scrollable list of files with that filename template. Select the ones
you want to archive, and then click
You willbe prompted for an optional descriptive comment to go with each file.
Archive Activitywindow. Do not be alarmed that
Bytes Transferredis less than
File Size-- WDSF compresses the file before archiving. When finished, click
Backupand then select
ds &as before. Click on
Retrieve by file specification.... Fill in filenames you want retrieved in the new
DataSave - Retrievewindow, using exactly the same directory as you used when archiving. The other fields can be ignored most of the time.
OK, and you will see a list of files satisfying your specifications. If a file was archived more than once, all instances will be displayed. Select the ones you want, and click
DataSave - Restore Parameterscomes up, allowing you to specify where the file(s) should go.
The default is to put
the files in exactly the same place where they came from. If files by the
same names already exist, you will be asked if you want to overwrite. Click
OK when you are ready.
tar, you need to split them up. Change directory to where you want the files to go, e.g.
cd $E154ANL1/spect5. Then issue this command:
tar xpf /nfs/juno/work/young/spect5.tar