/home/user/Complete/). I would want to sync locally (
C:\Users\User\Desktop) any new files that begin with
testfrom that server.
Here is what I have:
option batch abort option confirm off open scp://username:email@example.com synchronize local -filemask="test*.*" C:\Users\User\Desktop /home/user/Complete/ exit
testI would like them to download from the
Completefolder to the
Desktopfolder locally when the script is ran.
*side note, when I run it - it does connect fine, and it will download, but it is not downloading specific files based on names starting with
test. Right now there are folders in that
Completedirectory and it will download/sync just the folders (empty) + the files I wanted. Can I negate it with a flag from trying to download the empty folders?