Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

mooya

found it

8)
Ok i found it :)
When i was copying some files in the program itself i saw a screen where i could make my own FileMask.

The only 'problem' i have left is that Excluded files or folders don't get deleted if they exist on the Destination.
Is this possible?
mooya

Exclude Directories from syncing does not work?

Hi,

I'm using the WinSCP command line to open a script.txt with the commands.
I want to sync some data from my QNAP NAS to a backup disk.
I also use an iMac which creates a lot of files and directories i do not want in my backup so i excluded them.
When i use the script below it syncs perfect, but it also syncs the folders: .AppleDouble
What is the correct syntax to exclude this folder?

The file exclusion works.
But when an excluded file is in my target dir it does not get deleted. Is this also possible?

#QNAP is a SFTP connection

open Qnap
cd /share/MD0_DATA/Shares/test
synchronize local F:\Backup\test /share/MD0_DATA/Shares/test -delete -filemask="|thumbs.db; :2e*; *2eapdisk; ._*; *DS_Store; TABAFK*; /.AppleDouble; /TemporaryItems; /.Trashes"


close
exit


Thank you very much!

Greetings,
Mooya