• 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: move all files also with no extension via shell command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: move all files also with no extension via shell command


  • Subject: Re: move all files also with no extension via shell command
  • From: Christopher Nebel <email@hidden>
  • Date: Sat, 7 May 2005 01:18:53 -0400

On May 6, 2005, at 2:38 PM, Gnarlodious wrote:

Entity Christopher Nebel spoke thus:

As long as you're moving files within the same filesystem, the mv
command WILL preserve the resource fork.

However, if you're moving across filesystems, mv winds up calling
cp behind the scenes, so the resource fork is lost.

Unless you're using Tiger, in which case cp does the right thing.

Well darnit, that means we can no longer use cp to strip resource fork &
metadata.

True, but "cat < /dev/null > myfile/..namedfork/rsrc" will nuke a resource fork in Panther or Tiger.



--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


  • Follow-Ups:
    • Clear Metadata in Tiger
      • From: Gnarlodious <email@hidden>
References: 
 >Re: move all files also with no extension via shell command (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Nice Automator article on O'Reilly
  • Next by Date: Re: Use of 'path to ... folder creation
  • Previous by thread: Re: move all files also with no extension via shell command
  • Next by thread: Clear Metadata in Tiger
  • Index(es):
    • Date
    • Thread