Linux all files of folder modified yesterday

Pawan picture Pawan · May 24, 2012 · Viewed 39.8k times · Source

I have modified some files present in various folders in my webroot. This was development environment. Now I have to find all files modified yesterday to migrate to productions.

Is there any way (Linux command) to list only those files modified yesterday in my webroot tree?

Answer

mega.venik picture mega.venik · May 24, 2012

find ./ -mtime -1

Finds everything, what was modified in the current directory at the last 24 hours.