• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Message -ID, email@hidden, Back and forth between Posix and HFS paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Message -ID, email@hidden, Back and forth between Posix and HFS paths


  • Subject: Re: Message -ID, email@hidden, Back and forth between Posix and HFS paths
  • From: Alex Zavatone <email@hidden>
  • Date: Mon, 29 Mar 2010 17:08:16 -0500


On Mar 29, 2010, at 5:01 PM, Cosgrave Valentine wrote:

I have been following this thread with great interest.

Am urgently looking for a shell script "to find the last modified file in a folder AND its subfolders"

Have tried with success a double "ls -1t " (.ie first identify the newest folder, then identify the newest file in that folder) but was wondering if it can be done in one line ???

I think you will only have to turn on the recurse setting unless I am missing something.

Uppercase R is the recurse operator, so if you have something that is working, will this work for you?

ls -1tR

??

Cheers, 
- Alex


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Message -ID, email@hidden, Back and forth between Posix and HFS paths
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Message -ID, email@hidden, Back and forth between Posix and HFS paths (From: Cosgrave Valentine <email@hidden>)

  • Prev by Date: Message -ID, email@hidden, Back and forth between Posix and HFS paths
  • Next by Date: Re: (resend)
  • Previous by thread: Message -ID, email@hidden, Back and forth between Posix and HFS paths
  • Next by thread: Re: Message -ID, email@hidden, Back and forth between Posix and HFS paths
  • Index(es):
    • Date
    • Thread