I need a script that can delete unwanted files like .sfv .nfo .jpg etc.
My sabNzb is running on Synology/Python
Please anyone help me out
Post Processing script on Synology NAS
Re: Post Processing script on Synology NAS
If you just want to delete based on file extensions, why not use the cleanup filter in Config->Switches?
Re: Post Processing script on Synology NAS
Just want to do it for certin catagory
Re: Post Processing script on Synology NAS
Code: Select all
#!/bin/sh
cd "$1"
rm *.sfv *.nfo *.jpg
Then pick the script for the category.