Page 1 of 1

Copy FILES, Maintaining Directory Structure?

Posted: Mon Apr 24, 2023 7:50 pm
by therube
Copy FILES, Maintaining Directory Structure?


is there a way to copy files,
- maintaining directory structure ?

Code: Select all

c:/bin/1.txt ----------> X:/bin/1.txt
c:/bin/tar/4.txt ------> X:/bin/tar/4.txt
c:/dev/2.txt ----------> X:/dev/2.txt
c:/tmp/3.txt --------- > X:/tmp/3.txt
c:/usr/jcs/prog/5.txt -> X:/usr/jcs/prog/5.txt
So if I find files (oh, say with Everything) & I want to copy them elsewhere, in relative locations to their source... ?

Re: Copy FILES, Maintaining Directory Structure?

Posted: Mon Apr 24, 2023 8:52 pm
by tuska
Maybe this post by NotNull will help you.

Re: Copy FILES, Maintaining Directory Structure?

Posted: Mon Apr 24, 2023 9:51 pm
by NotNull
... and dont forget to use backslashes (\) instead of slashes (/) as it looks like the latter are not supported here.

Re: Copy FILES, Maintaining Directory Structure?

Posted: Wed Apr 26, 2023 2:59 pm
by therube
Thank you.

(I knew it was here somewhere.)