Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #!/usr/bin/bash
  2. sleep $1 # This will sleep for whatever number is put in when calling this script.
  3. if [ -f ~/from/video ]; then
  4. if cp ~/from/video ~/to; then
  5. echo "Transfer successful."
  6. else
  7. echo "Failed to copy."
  8. fi
  9. else
  10. echo "There is no video at location '~/from/video'."
  11. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement