-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wildcards work? #48
Comments
Looks like that doc needs to be updated. Shell special characters are quoted by default now, with the exception of |
Thanks! Got it. |
So how should I use wildcards exactly? some examples would be nice. |
You can create an SCPClient that doesn't escape filenames, and then copy: scp = SCPClient(ssh.get_transport(),
sanitize=lambda x: x)
scp.get('/var/tmp/data_patterm_*') |
def get(self, remote_path, local_path='',
recursive=False, preserve_times=False):
"""
Transfer files from remote host to localhost
Then call.
scp.get('/var/tmp/user-action_._', ".")
The text was updated successfully, but these errors were encountered: