Re: Clear Metadata in Tiger
Re: Clear Metadata in Tiger
- Subject: Re: Clear Metadata in Tiger
- From: Gnarlodious <email@hidden>
- Date: Thu, 19 May 2005 14:59:37 -0600
Title: Re: Clear Metadata in Tiger
-- Strip resource fork and metadata in Tiger for one file.
-- If a folder is selected creates an unresourced subfolder of the selected folder
tell application "Finder"
try
set aFile to the selection as alias
set aFolder to the container of aFile
on error
display dialog "Select a file"
return
end try
set aFile to the quoted form of POSIX path of aFile
do shell script "rsync -a " & aFile & " " & aFile & "Stripped; mv " & aFile & "Stripped " & aFile
update aFolder
end tell
-- Gnarlie
_______________________________________________
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