So I know I can download a whole directory like this:
sftp> get -R *
How can I exclude all files with .ipa extension though? I want to download everything except .ipa or .ipa.* files from a directory.
So I know I can download a whole directory like this:
sftp> get -R *
How can I exclude all files with .ipa extension though? I want to download everything except .ipa or .ipa.* files from a directory.
Did you consider usind rsync
(if you have it available)? It supports an --exclude
option, where you can specify what you wish to exclude:
rsync -av foo@remotehost:/dir/ /localdir/ --exclude .ipa --exclude .ipa.*