You could try a different format. I use a windows batch file(.bat)
Using a different format does not change a meaning of the commands.
You could try a different format. I use a windows batch file(.bat)
Double cheked and this is real:
If I use the GUI, with this command:
*; */ | sessions/
All files and folders are copied to my PC, but the files and folders under /sessions.
If I use the Script with this command:
synchronize local c:\MySites\Site1\ /public_html -delete -preservetime -filemask="*; */ | sessions/"
All files and folder are copied to my PC, including Sessions folder and files underneet
/log=path_to_log_file
command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.O GOT IT!!!!!!!!!!
synchronize local c:\MySites\Site1\ /public_html -delete -preservetime -filemask="| sessions/"
ONLY ONE quotation mark on each side.
All info on the forum always mention that you have to have two cotations!
The manual says two (double)
It's working.
THank you for pointing the Mask File Editor. That was a key for me to find the right way.
All info on the forum always mention that you have to have two cotations!
The manual says two (double)
I'm not sure. I don't use the txt file method so I have no experience with it. I will say I don't think you need the *.* part of the filemask. I just leave it blank on mine and I have just the exclusions set. I sync tons of folders and subfolders and have no issues. I'll look through the forums. There should be an example of what you need somewhere.
No, I do not unfortunately. The code I sent should work. You can use the GUI to build a filemask and that's what I did for you in my example. I'm not sure why it's still syncing the sessions folder. Also, "*/" means to not sync any subfolders so you don't want that.
![]()
Try:
/public_html -delete -preservetime -filemask=""| sessions/""