I am very new to shell scripts and I was wondering if anyone could post a script which takes tv files from a TMP folder and places it to a different folder. The files and folder name syntax will be the following
File to be moved
TV show name - SXXEYY - episode title.avi
Folder location
/data/media/tv/TV show name/Season XX/
If the folder does not exist than the script should make the folder then move the file. Any help would be great - can you also please use comments so I can learn what the commands are doing - it would greatly help me understand the language.
Thanks again.