Copy/Move many files at once

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Copy/Move many files at once

Post by aurumdigitus »

Can XY either natively or via scripting accomplish this?

Say there is a folder named Main. It contains three sub-folders: Alpha, Beta and Gamma. Each of these holds 10 files. Select "Main" then Copy/Move all 30 files as a group simultaneously to a new location without sub-folders.

This example is just an illustration to show the desired operation and could easily be done manually. In practice Main would contain up to 100 sub-folders each with 75 to 80 files.

Any wisdom that could be rendered would be of great value!

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Copy/Move many files at once

Post by Marco »

Manually you could do this:
1. Go to Main
2. Enable Branch view
3. Press Ctrl+M
4. Type "*:" without quotes
5. now you have every file selected, you can drag'n'drop them where you want
In case of Rich Copy warning hit No.
Beware of filename collisions!
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Copy/Move many files at once

Post by aurumdigitus »

Excellent Marco, thank you :!:

This may be one of the best and most productive uses of Branch I've seen yet. Would never have thought of this approach. :appl:

admin
Site Admin
Posts: 66304
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Copy/Move many files at once

Post by admin »

Note that there is also Edit | Select | Select All Files (Ctrl+Shift+Alt+M).

And you can have a Branch view for files only:

Code: Select all

? /:flatfiles
You could as well run a Quick Search to find all files:

Code: Select all

? /fr
Manxy waxys...

Stef123

Re: Copy/Move many files at once

Post by Stef123 »

Talking select all .... any chance to get back the old :select icon?

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Copy/Move many files at once

Post by aurumdigitus »

The take away from this is that Branch is more useful that had been realized. Rather like a Swiss Army knife where what can be done with it is limited only by ingenuity.

Especially like "? /:flatfiles". To use an old country expression that really "Shucks it right down to the cob". :lol:

Post Reply