Comments on: How To Find Files Modified in Last 30 Days in Linux https://tecadmin.net/find-files-modified-in-x-days/ How to guide for System Administrator's and Developers Tue, 08 Nov 2022 16:08:53 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: mitch https://tecadmin.net/find-files-modified-in-x-days/#comment-65243 Tue, 08 Nov 2022 16:08:53 +0000 https://tecadmin.net/?p=21962#comment-65243 Need to change the + to a – in my case .

]]>
By: denisreal https://tecadmin.net/find-files-modified-in-x-days/#comment-65061 Tue, 18 Oct 2022 20:14:56 +0000 https://tecadmin.net/?p=21962#comment-65061 Hello

In the find manual, you can read:
When find figures out how many 24-hour periods ago the file was last accessed, any fractional part is ignored, so to match -atime +1, a file has to have been accessed at least two days ago.
Go to know, isn’t it ?
Cheers

]]>
By: Walter Byrd https://tecadmin.net/find-files-modified-in-x-days/#comment-63812 Wed, 02 Mar 2022 18:18:58 +0000 https://tecadmin.net/?p=21962#comment-63812 All of this was broken with systemd.

$ find . -mtime -30 days
find: paths must precede expression: days
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path…] [expression]

]]>
By: Alex https://tecadmin.net/find-files-modified-in-x-days/#comment-59676 Fri, 12 Feb 2021 15:31:40 +0000 https://tecadmin.net/?p=21962#comment-59676 Rahul, it was a great help. Thanks. Alex

]]>