Skip to content

Instantly share code, notes, and snippets.

@countnazgul
Last active April 17, 2022 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save countnazgul/5403219 to your computer and use it in GitHub Desktop.
Save countnazgul/5403219 to your computer and use it in GitHub Desktop.
[psftp run commands from file] #psftp #ftp #terminal
psftp username@sftp.server.com -pw password -b commands.txt
commands.txt contain all the psft commands that need to be executed like:
lcd c:\test
mget *.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment