/ Linux

Previous Article

How to see files changed on a certain date

Next Article

There are a number of times I need to check and see what files have been modified on a given date. This little command line snippet is the way to do this, You can also pipe it through less or more if you have a long list and want to easily look through it.

Snippet

find /path -newermt yyyy-mm-dd

Example

find /var/www/domain.com -newermt 2016-12-02

Return

/var/www/domain.com/htdocs/index.html
/var/www/domain.com/htdocs/css/style.css

If you have a really long list of files you can pipe the command through less or more using the following snippet.

find /path -newermt yyyy-mm-dd | less
Avatar of Clive Walkden

Clive Walkden

Latest Articles

Linux

Output All Users Cron Jobs

If you want to check all users cron jobs this little command will output them to the command line

Magento 2

Magento 2 admin password history reset

Do you want to clear the password history on your staging test site (not recommended for live)?

Linux

Setting Nano as the default crontab commandline editor

If you prefer to use Nano over Vim in command line you can use the export the VISUAL value.