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
 Analysis Software Support
 dircopy utility
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jimmy.dias
BIAC Alum

USA
210 Posts

Posted - Feb 03 2005 :  7:18:33 PM  Show Profile  Visit jimmy.dias's Homepage  Reply with Quote
Hi all,

I've made some updates to dircopy on Golgi.

You now have to explicitly specify what dircopy should do when it encounters already existing files in the directory you are copying to.

Please view the help for more details (dircopy --help).

Jimmy

ckim
BIAC Alum

10 Posts

Posted - Feb 04 2005 :  11:41:23 AM  Show Profile  Reply with Quote
Jimmy,

dircopy doesn't seem to accept the wildcard anymore. So instead of being able to do ~/net/blah blah blah/run004* you have to specify run004_01, run004_02. Is there a way around this?

Cy
Go to Top of Page

mb
BIAC Alum

27 Posts

Posted - Feb 04 2005 :  12:27:22 PM  Show Profile  Reply with Quote
This is kind of the same question but can I specify that I want to copy more than one directory all in one line? Even when I try to specify the location of each run directory, dircopy tells me the source doesn't exist ...

Thanks,
MB
Go to Top of Page

jimmy.dias
BIAC Alum

USA
210 Posts

Posted - Feb 04 2005 :  1:30:53 PM  Show Profile  Visit jimmy.dias's Homepage  Reply with Quote
Ok, you can now specify more than one source directory. The last argument is used as the destination directory.

Wildcards can be used so long as the shell interprets them correctly.

Examples:

dircopy source dest
dircopy source1 source2 dest
dircopy source* dest

Jimmy
Go to Top of Page
  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.5 seconds. Snitz Forums 2000