• 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: Cosgrave Valentine <email@hidden>
  • Date: Tue, 30 Mar 2010 15:53:01 +0100

Great it does work.

I had used

$_eq 

instead of

$_ eq

I had omitted a space.

Thanks again.

Val

On 30 Mar 2010, at 02:19, Mark J. Reed wrote:

set myFolder to choose folder
do shell script "perl -MFile::Find -le 'find(sub { return if -d || $_
eq \".DS_Store\"; $mtime = (lstat $_)[9]; $newest =
[$File::Find::name, $mtime] if (!$newest || $mtime > $newest->[1]); },
shift);  print $newest->[0]'  " & (quoted form of POSIX path of
myFolder)

 _______________________________________________
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

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

  • Prev by Date: Re: (resend)
  • Next by Date: Re: (resend)
  • Previous by thread: Re: 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