Can filebot delete?

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
abescalamis
Posts: 30
Joined: 26 Jan 2018, 04:10

Can filebot delete?

Post by abescalamis »

I have a simple question, I haven't find any information about deleting files using filebot, I wanted to know if its possible to delete something using the command line.

I want to delete the "poster.jpg" and "fanart.jpg", does anybody now of a command to do that? I want to delete those because I already have Moviename (2017)-poster.jpg and Moviename (2017)-fanart.jpg.

Thank you
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Can filebot delete?

Post by rednoah »

Sounds like a very generic "delete files with a given name" kind of use case.

e.g.
https://confidentialfiles.wordpress.com ... n-windows/
:idea: Please read the FAQ and How to Request Help.
abescalamis
Posts: 30
Joined: 26 Jan 2018, 04:10

Re: Can filebot delete?

Post by abescalamis »

Thank you, I forgot to mentioned that I want to do it in a NAS, and the command line for it is different, that is why I asked, but I will look for the command for a Synology Nas.

I think this will do it

find /volume1/Data/Media/Movies/ rm poster.jpg fanart.jpg

Thank you rednoa
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Can filebot delete?

Post by rednoah »

It's even easier on Linux. Just Google it. ;)

PS: find has a delete option, which is much faster than calling rm for each line.
:idea: Please read the FAQ and How to Request Help.
Post Reply