sftp-batch

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
sftp-batch [2018/12/31 09:14] baumisftp-batch [2018/12/31 09:15] (current) baumi
Line 2: Line 2:
 ===== Upload ===== ===== 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.1546244093.txt.gz · Last modified: 2018/12/31 09:14 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki