|
|
what is shortcut to copy original from alias?
|
|
|
|
Junior Member
Join Date: Sep 2004
Status:
Offline
|
|
Hi,
I have a folder with about 200 alias items. I would like to copy all of the original files to a backup drive. The originals are in many different places, so it would be tedious and time consuming to find each original and copy it by hand.
I'm using OS 10.3
Is there a short-cut for doing this?
Thanks in advance.
-Ben
(
Last edited by benandkelley; Oct 16, 2004 at 11:12 PM.
)
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Dec 1999
Location: Plainview, NY
Status:
Offline
|
|
good luck. there's no shortcut that i know of. you should be able to write an applescript that can do this by looking up each alias's original (then copy, rinse, repeat)
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status:
Offline
|
|
I don't think an Applescript would be very complex (but I don't know how!). I would recommend you go to Apple's discussion forum at http://discussions.info.apple.com/ and check into the Applescript area. I'm sure someone there will help.
Chris
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
try this:
[php]
set the backupSource to ":Users:diggory:aliases" as alias
set the backupDestination to ":users:diggory:Backup:" as alias
tell application "Finder"
set everyAlias to every item of folder backupSource
repeat with thisAlias in everyAlias
set originalFile to (original item of thisAlias)
duplicate originalFile to backupDestination
end repeat
end tell
[/php]
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Sep 2004
Status:
Offline
|
|
Originally posted by Diggory Laycock
Thanks for the code. I'll give it a try and let you know if it works out as I hope.
Thanks :-)
-Ben
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|