Copy subfolders with files to new folder with new structure

Get help for specific problems
Posts: 3
Joined: 27 May 2021

Lukaszek

Hi everyone,
I have a problem in which i thought FreeFileSync can help me.

I have a folder with around 500 subfolders which have another subfolders and i need to extract some of lowest tier subfolders to another location and make a new automated rule to check for any changes daily.

Main folder build:

Folder -> Subfolder1 -> Subfolder1.1 -> ID_1101 -> *files*
Folder -> Subfolder1 -> Subfolder1.2 -> ID_1102 -> *files*
Folder -> Subfolder2 -> ID_1201 -> *files*

New folder build:

NewFolder -> ID_1101 -> *files*
NewFolder -> ID_1102 -> *files*
NewFolder -> ID_1201 -> *files*



I made filters to look like this:
\*\*\ID_????\*
\*\ID_????\*

but it only extract proper subfolders from Main folder to Newfolder with path directory but i need to somehow change newfolder build to only have one layer of subfolders. Is there a chance to make it with FreeFileSync and save it as RealTimeSync daily check rule?
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

That can't work unfortunately. The syncing can and will only sync it so the source and destination have identical structures.
Posts: 3
Joined: 27 May 2021

Lukaszek

:( sad panda

so this program is almost perfect ;P

but i think i can manage to do what i want with some kind of batch file in schedule. Wish me luck and thanks for help :)
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

As a one-off operation it's possible (uncheck "keep relative paths"): https://freefilesync.org/manual.php?topic=tips-and-tricks#copy-to-alternate-folder
Posts: 3
Joined: 27 May 2021

Lukaszek

but it has to be automated. It can be in two steps but it has to be done automaticly because i have bad memory ;)
Posts: 1202
Joined: 8 May 2006

therube

(You could set up folder pairs. But with 500 of them, I doubt the program would take that many?
Not to mention I doubt you'd want to actually do the setting up ;-).)