Highlighted
tervori
1 Copper

How to emcopy some folders with directories?

How to emcopy some folders with directories?
If I try EMCOPY SRCDIR DESTDIR B* /s /o
I get as a reuslt only empty directories, when i needed to have files too.
If i use emcopy c:\sales\eric x:\newsales\eric /s /o
I get folder and files. Tha is OK but I need to copy thousands of folders...

Tags (3)
0 Kudos
2 Replies

Re: How to emcopy some folders with directories?

refer to the emcopy readme file, you should have all the parameter available in there. readme file is version dependant which might have different paramter options

0 Kudos
brian__stewart
1 Copper

Re: How to emcopy some folders with directories?

EDIT:  I found my solution but it's pretty specific to my situation because I'm lucky enough to have all of my files with the same file extension.  Since all my files are of type .edoc, I'm able to use "emcopy64 <source> <destination> <0*> <*edoc> /s <other switches>", "emcopy64 <source> <destination> <1*> <*edoc> /s <other switches>", etc. to get my dataset broken up.

Hello.  I'm seeing the same behavior and wondering if emcopy can be used in this way?

Similar to above, I'd like to copy all folders along with their files and subfolders/files that begin with a particular pattern.  In my case it's numbered folders where instead of telling emcopy to copy 1 million folders at once, I could break that up into say 10 commands with filters of 0*, 1*, 2*...9*.

I can generate the top level folders but that's all.

0 Kudos