Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- [[ $EUID -ne 0 ]] && echo "This script must be run as root." && exit 1
- read -p "Cat What Find File List: " LST
- read -p "Destination To cp[or]mv Files: " DST
- read -p "Type cp (OR) mv : " CPMV
- for file in `cat $LST`; do $CPMV "$file" "$DST"; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement