[Gllug] Most Recent File

Nix nix at esperi.org.uk
Tue Nov 22 12:58:31 UTC 2005


On Tue, 22 Nov 2005, Steve Nelson stipulated:
> There are also some nifty arguments you can pass to find (search for
> 'time' and 'recent' in the manual page).
> 
> One of my favourite tricks is to find a file within a specific period
> of time... say in the last 48 hours:
> 
> touch -t 11200845 timestamp
> find . -newer timestamp

Sort of like `find -mtime -3'?

;)

-- 
`Y'know, London's nice at this time of year. If you like your cities
 freezing cold and full of surly gits.' --- David Damerell

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list