Page 1 of 1

Merging folders

Posted: 13 Apr 2022 08:40
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

Re: Merging folders

Posted: 13 Apr 2022 17:46
by Norn

Code: Select all

flattenfolder()
e.g.

Code: Select all

flattenfolder("<curpath>");

Re: Merging folders

Posted: 13 Apr 2022 19:05
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