Guest User

Untitled

a guest
Oct 15th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. for file in *.avi ;
  4. do
  5. if [[ $file == *CD1.avi ]]
  6. then
  7. part2=${file/CD1/CD2};
  8. output=${file/.CD1/""};
  9.  
  10. echo "mencoder -ovc copy -oac copy $file $part2 -o $output"
  11. fi
  12. done
Add Comment
Please, Sign In to add comment