copy files AND exclude dest folder structure

Get help for specific problems
Posts: 2
Joined: 13 Nov 2014

iaddicengineer

Hello All: Does anyone know if it is possible to use this tool to locate all files in a source location c:\*.pdf for example and copy them to a destination location c:\all_PDF_Files\ for example but NOT have the source location directory structure. I am just looking for the files to be copied to the one folder. Hence whenever i add a document of the type PDF to my computer, when the scheduler kicks off FreeFileSync, the new files would be added to the destination directory. Hence I maintain a relatively current library of all pdf files on my system.

Thanks,
User avatar
Posts: 2520
Joined: 22 Aug 2012

Plerry

If the directory tree is static and not very complex, you should be able to use multiple folder pairs.

The A locations would be the different folders in the source folder tree
(but obviously not C:\all_PDF_Files\ )
the B locations would all be identical same destination folder C:\all_PDF_Files\
The (global) Include filter could be "*.pdf" (excluding the quotes)
The (global) Exclude filter should contain "\*\*" or "\*\*.pdf" (excluding the quotes, either one should work)
No need for local (individual A/B pair) filter settings.

Select the (left-to-right) Mirror sync method if files that no longer exist in the source folder must be deleted from C:\all_PDF_Files\.
Select the (left-to-right) Update sync method if files that no longer exist in the source folder must remain in C:\all_PDF_Files\.

With your approach you need to assure yourself that no identically named pdf-files exist anywhere in your source-folder tree.

I have no FFS-based suggestions for a dynamic and/or complex folder structure.
It seems that then a specific batch/cmd script would be more appropriate.
This script would traverses the source folder tree (C:\, excluding C:\all_PDF_Files\ ) and copies each pdf-file to C:\all_PDF_Files\ if it
does not yet exist there or copies/overwrites each pdf-file already in C:\all_PDF_Files\ if that file in C:\all_PDF_Files\ is older than the one in the source folder tree.
Posts: 2
Joined: 13 Nov 2014

iaddicengineer

Hi Plerry, I am dealing with a fairly complex directory structure and in some case 4 or 5 levels deep. My challenge seemed simple at first. Essentially all I want to do is create a Library of PDF Files without moving the originals. I use an app called evernote and I want to connect that folder to the evernote watch folder feature. Then I can tag and manage the library from there. Looks like the script method may be the best route. Thanks for your reply.