filemask option does not seem to exclude anything
I have not been able to get -filemask to ignore any files. I have tried with spaces after the ;-character, ""-characters around the option, changing / to \ etc. I would like to ignore all files in the logs/ -directory, and all files in all .svn directories.
I am using WinSCP, Version 5.0.7 (Build 2268) on Windows XP.
I run this command:
With this script-file:
The output still shows that for example files in .svn and logs-directory are synced:
I am using WinSCP, Version 5.0.7 (Build 2268) on Windows XP.
I run this command:
c:WinSCP.com /console /script=bat\backup_winscp_script.txt
With this script-file:
# Open predefined connection open HQserver # SYNC IT! synchronize remote -mirror -filemask="|*\_removed\; *\tmp\; *\*.zip; sessions\; t22loader_output.txt; */logs/; *\tmp_*; testdata\; *.pyc; *\*.pyc; .svn\; *\.svn\" # Touch a file on the replica -- this can be used to show "last updated" touch updated
The output still shows that for example files in .svn and logs-directory are synced:
... E:\...\.svn\entries | 1 KiB | 0.0 KiB/s | binary | 100% Local 'E:\thewebsite\docs_etc\.svn' => Remote '/cygdrive/c/Users/HQserver/thewebsite/docs_etc/.svn' E:\...\.svn\entries | 0 KiB | 0.0 KiB/s | binary | 100% Local 'E:\thewebsite\logs' => Remote '/cygdrive/c/Users/HQserver/thewebsite/logs' E:\...\bin_generator.log | 855 KiB | 38.2 KiB/s | binary | 34% ...