Clean files after a certain time

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
trashhead
Posts: 4
Joined: 19 Nov 2016, 08:49

Clean files after a certain time

Post by trashhead »

I would like to tell filebot that it should remove files after it has moved them, but not until after a few weeks or a month.
So it will keep seeding for awhile before removing it.
Is this possible ?
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Clean files after a certain time

Post by rednoah »

You don't need FileBot for that:
http://www.howtogeek.com/131881/how-to- ... n-windows/

However, on Windows your torrent client will lock the files, so no 3rd party tool will be able to reliably delete any of the files that are being seeded. Built-in auto-remove support in your torrent client is the only good solution.
:idea: Please read the FAQ and How to Request Help.
trashhead
Posts: 4
Joined: 19 Nov 2016, 08:49

Re: Clean files after a certain time

Post by trashhead »

Problem is that unidentified movies might be removed if I do that.
Is there a way for filebot to copy unidentified movies to another folder ?
If I can do that I can have a script that just removes all files in download folder every couple of weeks.
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Clean files after a certain time

Post by rednoah »

Have you tried the --def unsorted option?
:idea: Please read the FAQ and How to Request Help.
trashhead
Posts: 4
Joined: 19 Nov 2016, 08:49

Re: Clean files after a certain time

Post by trashhead »

How does that one work, how do I tell it what directory to put it in ?
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Clean files after a certain time

Post by rednoah »

The unsortedFormat takes care of that. The default would be a folder called Unsorted in your output folder.

TL;DR just add --def unsorted=y and see what happens
:idea: Please read the FAQ and How to Request Help.
trashhead
Posts: 4
Joined: 19 Nov 2016, 08:49

Re: Clean files after a certain time

Post by trashhead »

It worked like a charm. Thank you very much :)
Post Reply