creating a script that will move completed downloads into other folders?
Hi all,
I'm trying to write a script that will move completed downloads from my main folder into 3 other folders where they are processed further by other programs.
I can create a file with names of the completed files but from here I'm stuck.
So depending if its a movie or a tv show it needs to go into one folder or another. To filter them out I can provide another list with the tv show names on or if they can be filtered out using the series / episode ie S**E** then any other video format to be moved into another folder.
Anything else that's left over gets put into a general folder.
Some files are in folders which have spaces in and other symbols and others are just the file itself.
If someone can offer some assistance that would be good.
So far I run a command and out put that into a file. I then use awk to print the text in certain columns into another file which gives me my list of files / folders to be moved.
|