You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using duck for sftp on a Mac Studio. I execute duck from a shell script via cron. I have successfully connected to the site and can download files using the --synchronize command; below is a simplified command line in a terminal window:
The data I want to download is in several folders on the sftp site. The above works perfectly except it downloads everything from all the folders. I want to use filters like the following. For example, download data from folder "xyz" and store on local folder "xyz":
The connection is successful and it looks like it will download, but it doesn't. I know there are files with "*.zip" extensions on the sftp site. It appears that I can't use a file filter while using the --synchronize command.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using duck for sftp on a Mac Studio. I execute duck from a shell script via cron. I have successfully connected to the site and can download files using the --synchronize command; below is a simplified command line in a terminal window:
duck .... --synchronize sftp://abcd.com /Users/..../data
The data I want to download is in several folders on the sftp site. The above works perfectly except it downloads everything from all the folders. I want to use filters like the following. For example, download data from folder "xyz" and store on local folder "xyz":
duck .... --synchronize sftp://abcd.com/xyz/*.csv.zip /Users/..../data/xyz
The connection is successful and it looks like it will download, but it doesn't. I know there are files with "*.zip" extensions on the sftp site. It appears that I can't use a file filter while using the --synchronize command.
Please advise.
Thanks!
Donald
Beta Was this translation helpful? Give feedback.
All reactions