![]() ![]() ![]() I have to repeat the steps for as many episodes as I have in the original directory, and given the fact I am essentially repeating the same steps and just iterating the episode number, it seems like a perfect use of a for loop in a script. Then I type the correct folder to get to mv tv.1.mkv E01/Īnd then hit Enter to complete the command. Then type 1 and Tab again to get to mv tv.1.mkv Essentially I am typing: mv tĪnd then hitting the Tab key to autocomplete out to mv tv.01E0 ![]() I have been moving the files manually at this point with the help of Tab autocompletion at the command line. 2.mkv, 3.mkv, ect.Īnd empty directories in the format E01, E02, E03, ect. I want to automate moving TV show episode files into individual directories for each episode.Įssentially, in the folder I want to run the script in, I have a list of files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |