• 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: comments stripped out by MV or MVMAC shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: comments stripped out by MV or MVMAC shell script


  • Subject: Re: comments stripped out by MV or MVMAC shell script
  • From: Sander Tekelenburg <email@hidden>
  • Date: Mon, 25 Apr 2005 09:59:02 +0200

At 22:54 -0400 UTC, on 2005/04/24, Doughtie, Dan wrote:

> Have an applescript with several shell scripts. One shell script
>successfully puts text into the comments field of the file.
>
> Then we've got a shell script that moves the file to another folder. We
>tried MV and MVMAC and it moves the file and handles the permisions but it
>strips out the Comments. Anyone know how to move a file and keep the
>Comments. We use the Comments to tell another system how to handle a the
>file. We can't use a Finder Move because we actually turn the Finder off for
>reasons too long to explain here.

Interesting. I would have expected ditto -rsrc to handle this, but it too
loses the comment.

I suppose you could first read the comments field, then move the file, than
write the comment to it again. Or encode/compress the file, move it,
decode/decompress it, if you're willing to waste that much CPU on it ;)


--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
 _______________________________________________
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:
    • Re: comments stripped out by MV or MVMAC shell script
      • From: Andrew Oliver <email@hidden>
References: 
 >comments stripped out by MV or MVMAC shell script (From: "Doughtie, Dan" <email@hidden>)

  • Prev by Date: Re: Quark - search and replace.
  • Next by Date: Re: comments stripped out by MV or MVMAC shell script
  • Previous by thread: Re: comments stripped out by MV or MVMAC shell script
  • Next by thread: Re: comments stripped out by MV or MVMAC shell script
  • Index(es):
    • Date
    • Thread