First of all I am completely new to scripting. I have been trying to get an exclude of any kind to work and can not. I have read and reread all of the documentation and all of the posts concerning MASKS. I just don't understand how they work. I log onto the donone directory and want to exclude the sub directory /laptop seems a simple thing but....frustration.
I have been trying every combination for a week without any luck. Here is an example:
option batch on
option confirm off
option exclude */;laptop/;
open donone@moab-utah.com
synchronize local -delete
close
Maybe someone could explain to me the reasoning for use of the excludes for directories and files and maybe give me some examples. I truly, truly would appreciate it.
Thanks