skip to main
|
skip to sidebar
Tuesday, April 26, 2011
Find Most Recently Modified File
To find the most recently modified file in the current directory tree:
find . -type f -printf '%T@\t%t\t%p\n' | sort -nr | head -n 1 | cut -f 2,3
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Reusable Coder
/* Below text will not compile */
Blog Archive
►
2017
(1)
►
December
(1)
►
2016
(1)
►
February
(1)
►
2015
(6)
►
August
(4)
►
February
(1)
►
January
(1)
►
2013
(7)
►
December
(1)
►
November
(3)
►
April
(1)
►
March
(1)
►
January
(1)
►
2012
(1)
►
December
(1)
▼
2011
(7)
►
November
(1)
►
September
(1)
►
June
(1)
▼
April
(1)
Find Most Recently Modified File
►
January
(3)
►
2010
(15)
►
September
(2)
►
August
(1)
►
June
(1)
►
May
(1)
►
March
(2)
►
February
(1)
►
January
(7)
►
2009
(1)
►
July
(1)
►
2008
(5)
►
September
(3)
►
July
(1)
►
April
(1)
Followers
Labels
design
programming
database
hibernate
scala
springframework
unix
java
languages
testing
S3
ddd
di
linux
technology
tool
amazon
android documentation confusing
docker
dsl
jpa
jsf
machine learning
maven
optimization
osgi
postgresql
projects
rspec
ruby
sql
theory
types
web