Pawan Pawan - 1 year ago 31
Linux Question

Linux all files of folder modified yesterday

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 Source

find ./ -mtime -1

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