Page 1 of 1

Can filebot delete?

Posted: 03 Sep 2018, 22:32
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

Re: Can filebot delete?

Posted: 03 Sep 2018, 22:45
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/

Re: Can filebot delete?

Posted: 04 Sep 2018, 00:41
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

Re: Can filebot delete?

Posted: 04 Sep 2018, 09:41
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.