Sometime Today, NMK cobbled together some glyphs to say:
How do I find the list of all files modified since yesterday? I know one option would be find / -mtime N But this is a bit confusing. Should N be 1 or -1? Is there a better way?
N should be 1. This is the best way, it should not be confusing.
Remember that 'difference' can never be negative. The difference between two quantities is always equal to the larger minus the smaller.
find / -mtime 1d would be more explicit.
to everyone else: ls in conjunction with date has the following problems: 1. it does not dive into subdirectories unless recursive is specified 2. it's slower 3. it requires two fork and execs 4. it only works to find files of one specific date, and not files of a given date range or age.
learn to use all the tools you have access to for free.
Philip