Find files by date and regex

find the files modified more than 3 days ago …
good candidates for a clean up

The timestamp can alternatively be specified directly in date -d format and use other find tests e.g., -name, -mmin.

References

1. Find and Grep: http://stackoverflow.com/questions/8851667/grep-files-based-on-time-stamp
2. For Loop: http://stackoverflow.com/questions/169511/how-do-i-iterate-over-a-range-of-numbers-in-bash
3. Find Arguments: man find
4. Use of atime: http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_07.html
5. Using bc to execute floating point arithmetic operations: http://stackoverflow.com/questions/11039876/multiplication-on-command-line-terminal-unix
6. Bash Arithmetic: http://linux.about.com/od/Bash_Scripting_Solutions/a/Arithmetic-In-Bash.htm

About Gugulethu Ncube

IT enthusiast getting things done.