Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Support Forums
 Unix Support
 reliable directory copy over filesystems

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
jimmy.dias 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

BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.37 seconds. Snitz Forums 2000