• 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: Make a file visible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make a file visible


  • Subject: Re: Make a file visible
  • From: "Pagani Jr, Ronald" <email@hidden>
  • Date: Mon, 16 Dec 2002 12:39:58 -0800

You may also try:

/usr/bin/ditto

ditto -rsrcFork <source> <destination>

Ron ;)


On Sunday, December 15, 2002, at 01:05 PM, Doug McNutt wrote:

At 20:05 +0100 12/15/02, Thomas wrote:
In fact I was looking for a script that will trash under OS X all the nasty (ressources ?) files "._<name of the file>" which appears when you copy files on(to) a DOS disk from OS X.

AhhHa. The UNIX command cp ( for copy) has a problem on the Mac which might be useful to you. It ignores the resource fork. If you do a

cp sourcefile /Volumes/theMountedDisk/

cp will recognize that the destination is a "folder" and will copy the source file there with its original name but it will ignore the resource fork. /Developer/Tools/CpMac it the tool that is intended to "correct" that problem. It behaves as the finder does when you drag and drop a file.

Take my stuff and set up the do script command so that it does a simple UNIX /bin/cp and you should have what you want. You'll have to hard code the destination folder/disk. This is not really AS. Ak off list if you need some help.

Something else you might look at, if you're networked, is FTP. That protocol ignores resource forks unless special precautions are taken.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Make a file visible (From: Doug McNutt <email@hidden>)

  • Prev by Date: Think before you autorespond
  • Next by Date: Re: Trouble mounting an iDisk
  • Previous by thread: Re: Make a file visible
  • Next by thread: Re: Make a file visible
  • Index(es):
    • Date
    • Thread