find out the latest (last) modification date and time for given directory tree

By neokrates, written on July 3, 2011

howto

Rate it
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
Ad
Poll
  • What SVN client do you use?

    • Don't use SVN (93%, 14 Votes)
    • Command line (7%, 1 Votes)
    • Subversive (0%, 0 Votes)
    • Subclipse (0%, 0 Votes)
    • Idea SVN (0%, 0 Votes)
    • TortoiseSVN (0%, 0 Votes)
    • Different tool (0%, 0 Votes)

    Total Voters: 15

    Vote

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
Most popular search terms:

You have /your/path/to/many/subdirs and want to know when it was changed last time, here is bash one-liner :

date -d @$(find /your/path/to/many/subdirs -type f -printf '%A@\t%p\n' | sort -r -k1 | head -n1 | cut -f1)

 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: +1 (from 1 vote)
1 votes 'YES'  0 votes 'NO'

LEARN MORE (amazon bookstore)

TAGS
No tags for this post.

RELATED
Pages
Posts
    nope :(

SOCIAL
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • BlinkList
  • Blogosphere News
  • E-mail this story to a friend!
  • Furl
  • LinkArena
  • Live
  • MisterWong
  • Print this article!
  • StumbleUpon
  • Technorati
  • Webnews.de
  • YahooMyWeb

INCOMING SEARCH TERMS


Leave a Reply