Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Unix Support
 reliable directory copy over filesystems
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jimmy.dias
BIAC Alum

USA
210 Posts

Posted - Jul 22 2003 :  5:24:46 PM  Show Profile  Visit jimmy.dias's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.6 seconds. Snitz Forums 2000