Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- find . -name '*_DiskStation_*_Conflict*' | while read line; do
- echo "Processing file '$line'"
- mv "$line" "$(echo "$line" | sed -r 's/_DiskStation_[a-zA-Z]{3}-[0-9]{2}-[0-9]{4}-[0-9]{4}_Conflict//')"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement