3
I am mounting a backup script and need to create a scan to analyze if any file in a folder was created in the last 7 days, what is the path to it? I know the command ls -lt
lists the files in the order of last creation or change and shows the month, day, hour and minute, how I can use this information?
Depending on what you’re doing, take a look at the logrotate,
– Arthur Julião