I'm not sure I understand your problem fully, but maybe you are looking for this:
put -delete -filemask=*/ X:\(LocalPath)\* /(RemotePath)/" ^
put -delete -filemask=*/ X:\(LocalPath)\* /(RemotePath)/" ^
"rm /IN/*.txt" ^
*.txt
without the note and doesn't delete the /IN
directory
"get /imp -filemask=*.txt \pfad\imp" ^
"rm /imp *.txt" ^
/imp
folder?
...
"rm /imp/ *.txt" ^
put
command with -delete
, this gets much easier. The only thing that doesn't seem to work, is syncing ALL files AND folders within the local folder, without deleting the local folder itself.
put -delete -filemask=*/ X:\(LocalPath)\ /(RemotePath)"^
LocalPath
folder. I can't seem to find a filemask that works. Using *.*
doesn't sync the first folder within the localpath, but only it's subfolders.
SynchonizationMode
and the sync works when i execute the script. But the deletion won't work and i don't know what to change.