Got a new laptop recently and hadn't set up php and nginx in a long time went looking for a simple setup and thanks to TechTuts they had just what the doctor ordered.
Saturday, April 15, 2017
Friday, April 7, 2017
Find All Files Modified In Last Day Excluding Path
Recently had a situation where we were trying to track down which files had been modified in the last 24 hours but needed to exclude the cache directory since it builds files often and for a large site sifting through this is time consuming.
The following command will show all files, recursively, that have been modified in the last 24 hours and exclude the cache directory.
user@machine> find . -not \( -path ./wp-content/cache -prune \) -mtime -1 -ls
Posted by Joseph at 10:26 PM 0 comments
Subscribe to:
Posts (Atom)