User Tools

Site Tools


sftp-batch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sftp-batch [2018/08/03 08:17] – created baumisftp-batch [2018/12/31 09:15] (current) baumi
Line 1: Line 1:
 ====== SFTP Batch ====== ====== SFTP Batch ======
 +===== Upload =====
 <code> <code>
-(echo "cd $LOCAL_DIRECTORY"; echo "put $FILENAME";  echo "quit") | sftp -v -P $PORT -i $IDENTITY $SSH_OPTIONS -b - $USERd@$HOST</code>+(echo "cd $LOCAL_DIRECTORY"; echo "put $FILENAME";  echo "quit") | sftp -v -P $PORT -i $IDENTITY $SSH_OPTIONS -b - $USER@$HOST</code>
 {{tag>kb linux ssh sftp}} {{tag>kb linux ssh sftp}}
sftp-batch.1533277043.txt.gz · Last modified: 2018/08/03 08:17 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki