Created
March 10, 2016 16:48
-
-
Save robinfang/85e6950bf2c190a627d9 to your computer and use it in GitHub Desktop.
rename .ass according to .mkv filenames
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ls *.mkv |sed "s/.mkv/.ass/g" >mkv.ass.list | |
| for file in *.ass;do read line;mv -v "${file}" "${line}";done <mkv.ass.list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment