Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/bash
- sleep $1 # This will sleep for whatever number is put in when calling this script.
- if [ -f ~/from/video ]; then
- if cp ~/from/video ~/to; then
- echo "Transfer successful."
- else
- echo "Failed to copy."
- fi
- else
- echo "There is no video at location '~/from/video'."
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement