Copy FILES, Maintaining Directory Structure?

Off-topic posts of interest to the "Everything" community.
Post Reply
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Copy FILES, Maintaining Directory Structure?

Post 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... ?
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Copy FILES, Maintaining Directory Structure?

Post by tuska »

Maybe this post by NotNull will help you.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Copy FILES, Maintaining Directory Structure?

Post by NotNull »

... and dont forget to use backslashes (\) instead of slashes (/) as it looks like the latter are not supported here.
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: Copy FILES, Maintaining Directory Structure?

Post by therube »

Thank you.

(I knew it was here somewhere.)
Post Reply