Upload today files with multiple includes and excludes
I had this working with
Only trouble I am having is finding the correct syntax using the
Code is below, I changed the file names for privacy reasons, but the structure of the script is the same.
Anyone have examples of doing this or better yet know what I am doing wrong with my script?
synchronize
but I just found out that the files will be removed from the destination site daily, so I am looking at using put
instead.
Only trouble I am having is finding the correct syntax using the
today
keyword with multiple file includes and excludes (it works if I don’t specify files created “today” )
Code is below, I changed the file names for privacy reasons, but the structure of the script is the same.
lcd "S:\folder1\folder2\Home\" cd "/remote/Home/" put -filemask=">=today; filename*.BZ2; filename*.json; 01*.PSV; 02*.PSV; 03*.PSV; 06*.PSV; 05*.PSV;07*.PSV; 08*.PSV; 09*.PSV; 10*.PSV; 11*.PSV | *.PDF; *.DON; *.txt; filename*.PSV; dirname/" -resumesupport=50000 -rawtransfersettings[2] ExcludeHiddenFiles=1 ExcludeEmptyDirectories=1 "uploaddir" exit