tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Possible enhancement to find(1)



On Fri, 10 Jun 2016, Simon Burge wrote:

Paul Goyette wrote:

I often find myself (no pun intended!) wanting to determine which files
were accessed before/since a particular timestamp.  There currently
exist the -{a,c}{newer,min,time} primitives, but none of these allow me
to say "since today at 5 AM".

I'd like to suggest adding new primitives

 	-asince "timestamp"
 	-csince "timestamp"

where the timestamp argument would be converted to an actual time using
parsedate(3).

And -msince ?

Yes, I got that one, too!  :)


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index