Linux Delete Files Older Than 5 Minutes at ryanelovelaceo blog

Linux Delete Files Older Than 5 Minutes. The mmin option is used to find files/directories with last modified in minutes (replace minutes with the amount of minutes as an integer). so to delete all files in the current folder, including subfolders, created in the last 5 minutes, use this command:

How to remove log files in linux Shared How
from sharedhow.com

This article will show you how to delete files older than a given number of days (or hours/minutes) manually or automatically via a bash. I have this so far:i would like to delete files that are older than 59 minutes.

How to remove log files in linux Shared How

Linux Delete Files Older Than 5 Minutes If you wanted to specify files older than x days. This article will show you how to delete files older than a given number of days (or hours/minutes) manually or automatically via a bash. @argv = (/tmp/test11/) unless @argv; This doesn't work and seems to delete all files.