Hey all, I am wondering if anyone knows how to create a filter that would identify all files and folders that start with any letter from A-D. I can list them one after another, just wondering if there is some syntax to make that easier. I have to do the whole alphabet and 1-9, but in pieces.
So, instead of *\a*|*\b*|*\c*|*\d*| some way to do *\A-D or what have you.
Filter Syntax Question
- Posts: 1
- Joined: 10 Oct 2025
-
- Posts: 2995
- Joined: 22 Aug 2012
Unfortunately, the FreeFileSync (FFS) Filter rules do not support Regular Expressions :-(
So, if you want/need to Include or Exclude files based on grouping their first file name character, the way you describe seems to be the only way to go.
However, you may consider if grouping your syncs by folder name, rather than by the first character of the file name would be more effective in your case (unless you have more than 36 (=26+10) child folders in your left and right base location).
So, if you want/need to Include or Exclude files based on grouping their first file name character, the way you describe seems to be the only way to go.
However, you may consider if grouping your syncs by folder name, rather than by the first character of the file name would be more effective in your case (unless you have more than 36 (=26+10) child folders in your left and right base location).
- Posts: 4933
- Joined: 11 Jun 2019
Also, in what scenario does this process make sense? What are you trying to accomplish?
For syncing in pieces, doing it directory-by-directory is way better than scanning the entire parent directory for files beginning with certain letters
For syncing in pieces, doing it directory-by-directory is way better than scanning the entire parent directory for files beginning with certain letters