Re: Do Shell Script
Re: Do Shell Script
- Subject: Re: Do Shell Script
- From: Christopher Nebel <email@hidden>
- Date: Mon, 24 Oct 2005 09:24:35 -0700
On Oct 23, 2005, at 11:57 PM, John Mitchell wrote:
From the Retrospect log the path types are :
mitchX/Applications/Personal Applications/MYOB AccountEdge 3/
Tutorial/ANZ.qif
mitchX/Users/johnmitchell/Library/Preferences/Interarchy/Bookmarks/
Web/Essentials/Groups
Is that really what's in the Retrospect log? If so, then they're
being bizarre to you. Those look like HFS paths with the colons
translated to slashes, which is just wrong. Absolute POSIX paths
start with a slash, and don't contain the disk name unless they route
through "/Volumes" first.
You could get a usable POSIX path out of that by either deleting the
"mitchX" or by changing the slashes to colons (I suspect you'll also
need to change any colons to slashes -- have you got any files like
that?) and then treating it as an HFS path. (And then *don't* make
it home-directory-relative as in your original script!)
--Chris Nebel
AppleScript and Automator Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden