Guest User

Untitled

a guest
Oct 16th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. SERVER=""
  4. USER=""
  5.  
  6. if [ -f $1 ] ; then
  7. echo "scping $1 to /home/${USER} on ${SERVER}!"
  8. scp $1 ${USER}@${SERVER}:
  9. fi
Add Comment
Please, Sign In to add comment