Question: Write a Bash script that searches a directory .Trash and removes files and directories older than 30 days. Show how you would have cron run
Write a Bash script that searches a directory .Trash and removes files and directories older than 30 days. Show how you would have cron run this script daily.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
