bash script for Clean-up database & Scan media folders

Hello,
First post. I was hoping somebody would have script(s) to Clean-up Database and Scan media folders from a bash script.
Or ideas on how to implement them.
Thank you,
FujiMan
First post. I was hoping somebody would have script(s) to Clean-up Database and Scan media folders from a bash script.
Or ideas on how to implement them.
Thank you,
FujiMan