Hello,
I use FreeFileSync on Linux.
I synchronize the directory /home/my_name/Documents with a FTP server.
How can I include files with a pattern (for example: *.txt) located in the root directory but exclude files with the same pattern in all the sub folders whatever the level ?
I tried */*.txt in the exclusion list but it excludes also the files in the root directory.
Include pattern but not in sub-folders
- Posts: 8
- Joined: 19 Jan 2021
-
- Posts: 2946
- Joined: 22 Aug 2012
Try /*/*.txt as your exclude rule.
The added slash (/) up front should do the trick.
The added slash (/) up front should do the trick.
- Posts: 8
- Joined: 19 Jan 2021
Thanks Plerry, it is exactly what I wanted.