• 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: Clear Metadata in Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Mount Xserve Volume Broken in Tiger?
      • From: Jason Bourque <email@hidden>
    • Desktop Bounds Broken in Tiger?
      • From: Jason Bourque <email@hidden>
References: 
 >Re: Clear Metadata in Tiger (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: Clear Metadata in Tiger -- success
  • Next by Date: ANNOUNCE: Script Debugger 3.0.9
  • Previous by thread: Re: Clear Metadata in Tiger -- success
  • Next by thread: Desktop Bounds Broken in Tiger?
  • Index(es):
    • Date
    • Thread