Shell Script to delete unwanted files and directories
#!/bin/bash
cd /home/shahid/ # Change the dectory to the specified location
monit stop all # Stop all the process
rm -rf log/* # Deletes all the files inside the directory log
rm -rf dump/processed/* # Deletes all the files inside the directory ...
0
Posted by Shahid