• 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 01:18:48 +0100

Mark,

The previous script appears to work. Really does. And I am thrilled.

if i find that it gives incorrect results I'll post it on the thread.

The last script (below) without the n, throws up the following error.

"String found where operator expected at -e line 1, near "$_eq ".DS_Store""
	(Missing operator before ".DS_Store"?)
syntax error at -e line 1, near "$_eq ".DS_Store""
Execution of -e aborted due to compilation errors."

I'm going offline now. In Ireland.

and Thanks again

Val


On 30 Mar 2010, at 00:58, Mark J. Reed wrote:

Something added some spurious "\n"s to the perl code.  It should just be this:

> 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

  • 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>)
 >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>)

  • Prev by Date: Re: Message -ID, email@hidden, Back and forth between Posix and HFS paths
  • Next by Date: Re: Spurious Apple Event Timeout Fixed in 10.6.3?
  • 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