Implement, as a script, a "safe" delete command, sdel.sh. Filenames passed as command-line arguments to this script are not deleted, but instead gzipped if not already compressed (use file to check), then moved to a ~/TRASH directory. Upon invocation, the script checks the ~/TRASH directory for files older than 48 hours and permanently deletes them.
Votes
In Progress 07-12-2019 Zeeshan 766
Enjoy all the features. Browse jobs, articles, questions, scholarships and many more! in just one App