# create a file that has a timestamp of just after midnight today
touch -t `date +"%Y%m%d"0001.01` /tmp/just_after_midnight_today
# find files older than today
find /path/to/dir/ -maxdepth 1 ! -newer /tmp/just_after_midnight_today
Thursday, March 26, 2009
Subscribe to:
Posts (Atom)