• 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: "Gary (Lists)" <email@hidden>
  • Date: Mon, 25 Apr 2005 02:29:32 -0400

Doughtie, Dan wrote [4/24/05 10:54 PM]:

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

Hey again, Dan.  In addition to what Andrew said, I also quit the Finder
from time to time for some processing tasks.

How about writing the comments to a text file with your own kind of
separator (depending on what won't be in your comments):

/Files/Folder/Path/file.ext|Ready for proof

Or even XML, if you wanted to be fancy.

[Like a time-delayed, Folder Action-ish, automated processing instruction
sheet in a folder-level XML file. I guess they have that already.]

[XBOPI.  XML Batch Object Processing Instruction.]

You'd better sync your XBOPIS, they'll say.

[ASFAPI, the AppleScript Folder Action Processing Instruction sheet is a
variant of the XBOPI 2.0 format designed specifically for the Mac OS.]

See how easy it is to make the Spec of the Week?
--
Gary

 _______________________________________________
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

References: 
 >comments stripped out by MV or MVMAC shell script (From: "Doughtie, Dan" <email@hidden>)

  • Prev by Date: Re: Safari "do javascript" busted?
  • Next by Date: Re: Quark - search and replace.
  • 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