Merging folders

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
iamseoul
Posts: 52
Joined: 15 Oct 2021 13:20

Merging folders

Post by iamseoul »

Multiple folders into one simple folder
Is there a way to merge?

It's hard to navigate because the files are divided into different folders

Combine multiple folders into one folder
I want to have several files in one folder, is there a way?

Renaming folders doesn't work well because of suffixes

Also, if the file name overlaps during the folder merger process,
is it possible to change the name of the file automatically and merge it?
So that those files are not overwritten and lost

Norn
Posts: 522
Joined: 24 Oct 2021 16:10

Re: Merging folders

Post by Norn »

Code: Select all

flattenfolder()
e.g.

Code: Select all

flattenfolder("<curpath>");
Windows 11 24H2 @100% 2560x1440

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Merging folders

Post by highend »

Destination folder: R:\dst

Source folders and files:

Code: Select all

R:\src1
       \file_a.txt

R:\src2
       \file_a.txt
       \file_b.txt

R:\src3
       \subfolder
                 \file_b.txt
                 \file_c.txt
Is this the result you want to have:

Code: Select all

R:\dst
       \file_a.txt
       \file_a-01.txt
       \file_b.txt
       \file_b-01.txt
       \file_c.txt
or that one?

Code: Select all

R:\dst
       \file_a.txt
       \file_a-01.txt
       \file_b.txt

       \subfolder
                 \file_b.txt
                 \file_c.txt
One of my scripts helped you out? Please donate via Paypal

Post Reply