Is there a way to watch a folder and move files based on rules?

So you made CouchPotato even more awsome?
rmilyard
Junior Member
Posts: 5
Joined: 28 Apr 2014 17:31
Status: Offline

Is there a way to watch a folder and move files based on rules?

Postby rmilyard » 20 Mar 2016 23:08

I have 2 pools with my FreeNAS server tank and tank2. I use tank for my downloading media and storing my tv shows and normal movies. On tank2 I like to keep all my true blu rays and 3d blu rays in .iso format.

Tank has sabnzbd, couchpotato, sickrage and transmission. Right now all the files download in either tank/mnt/media/videos either /tvshows or /movies.

I would like someway to watch the movies folder and if finds a file type .iso or name with name .3d to move them to tank2/mnt/media2/movies/blu rays

If anyone can help me and let me know if can be done that would be GREAT!

rmilyard
Junior Member
Posts: 5
Joined: 28 Apr 2014 17:31
Status: Offline

Re: Is there a way to watch a folder and move files based on rules?

Postby rmilyard » 21 Mar 2016 14:37

To be honest I am not sure how I can and if can do this.




I want to watch the folder /mnt/tank/media/videos/movies. Inside this folder I have my movies names in folder of the movies. IE: American Ultra (2015). Then inside the movie name folder I have files like:




American Ultra (2015).iso

American Ultra (2015).nfo




I would like to watch for file types nested inside /mnt/tank/media/videos/movies that have the .iso. If finds them then copy the American Ultra (2015) folder and contents inside to /mnt/tank2/media/movies/blu rays




I hope this all makes sense.




Also if works then maybe one step further. If the file name contains .3D in the name then move it to /mnt/tank2/media/movies/3D blu rays.

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Is there a way to watch a folder and move files based on rules?

Postby clinton.hall » 07 May 2016 23:50

you coudl write a script to do this... perhaps ave this run as a postprocess script from sabnzbd and transmission on download complete.

nothing I know of to do this currently.

AaronMop
Junior Member
Posts: 12
Joined: 04 Sep 2017 21:19
Location: Bulgaria
Contact:
Status: Offline

Is there a way to watch a folder and move files based on rules

Postby AaronMop » 12 Sep 2017 18:02

has anyone heard anything good or bad about the texas speed true dual system?
I was advised forex trading system for profitable investments


Return to “External Tools”