
Sometimes you may need to delete all files except one or some in Linux. Here is how to delete all files except one in Linux.
Sometimes you may need to delete all files except one or some in Linux. Here is how to delete all files except one in Linux.
Sometimes you may need to delete files older than 1 day, 7 days, 1 month, 6 months and even 1 year. Here is how to delete files older than X days in Linux.
Very often you need to delete files in a directory. Here is a shell script to delete files in a directory.