copyWithoutXAttr

copyWithoutXAttr copies files to a specified destination but suppresses the copying of extended attributes
Download

copyWithoutXAttr Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Cameron Hayne
  • Publisher web site:
  • http://hayne.net/MacDev/Perl/zero_separated
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 1 KB

copyWithoutXAttr Tags


copyWithoutXAttr Description

copyWithoutXAttr copies files to a specified destination but suppresses the copying of extended attributes Files on OS X can have resource forks and other extended attributes and as of Tiger (10.4) the 'cp' command copies these extended attributes. This AppleScript droplet copies files to a specified destination but suppresses the copying of extended attributes.copyWithoutXAttr proves to be useful when the destination is on a non-HFS volume in order to avoid the "._" files that would otherwise be produced.copyWithoutXAttr illustrates several useful AppleScript techniques:· handling the files dropped on an AppleScript droplet· a separate handler that gets invoked when the droplet is double-clicked· converting filepaths from traditional Macintosh colon-separated format (as used in AppleScript) to standard Unix slash-separated format for use with 'do shell script'


copyWithoutXAttr Related Software