Guest User

Untitled

a guest
Dec 29th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. HOST=ftp.test.co
  4. USER=test
  5. PASS=test
  6.  
  7. SRC=ftp.test.co
  8. RET=/home/user/uploads
  9.  
  10. CWD=$(pwd)
  11. cd $SRC
  12. pwd
  13. ls -l
  14. lftp -c "open -u $USER,$PASS $HOST; cd $RET; lpwd; mirror -R -c"
  15.  
  16. cd $CWD
Add Comment
Please, Sign In to add comment