|
jimmy.dias
BIAC Alum
    
USA
210 Posts |
Posted - Jul 22 2003 : 5:24:46 PM
|
Hey all,
For those of you mounting the SAN via smbfs or sharity, I wrote a script that recursively copies whole directories over the network. This executable is called dircopy and can be found in your path on the p670 (volta).
Usage Info: dircopy [OPTION]... SOURCE DEST
SOURCE is the directory you wish to copy from. DEST is the directory you wish to copy to.
Usage Example: dircopy /home/dias/bristol/BIAC/Example.01/Data/Func/20030502_42165 /data/Example.01/42165
Note the following:
- The computer from which you are copying from or to must already be mounted.
- The destination directory must not exist already.
- The parent directory for the destination directory must already exist (in the above example,Example.01).
- The resulting directory structure (DEST) will be the same as the original (SOURCE) directory structure.
For more help, dircopy -h at the prompt.
For those of you who do not have access to the p670 and are interested in obtaining the source, email me at dias@biac.duke.edu.
Cheers, Jimmy |
Edited by - jimmy.dias on Jul 23 2003 1:22:36 PM |
|