How can I list all files newer than a given time? I’m looking for a one-liner that I can run in Bash with standard Linux utilities.
I know how to list all files newer than a given file (find . -newer FILE), but in my case I have a Unix timestamp (e.g. 1312604568) to compare them to, instead of a file.
This is a bit circuitous because
touchdoesn’t take a rawtime_tvalue, but it should do the job pretty safely in a script. (The-roption todateis present in MacOS X; I’ve not double-checked GNU.) The ‘time’ variable could be avoided by writing the command substitution directly in thetouchcommand line.