Hello Bill,

To the best of my knowledge, the BOM only lists what actually is 
installed, but I cannot guarantee that (because the MacOS-X installer 
still seems to be new to the folks porting things over to the Mac not 
all of them may be a careful as we would like).

                                Jerry

p.s. My replies seem to be slow as I have not yet received the message 
from the group answering the original question you posed. Odd thing, 
that. I sent two, do you get both?

p.p.s. My apologies to the rest for not inserting all of the 
explanatory notes that Bill was so kind to put in!

On Wednesday, May 21, 2003, at 04:41  PM, Bill Rising wrote:

> On 5/21/03 15:31, Jerry Yeager wrote
>
>> It may be possible, depending on whether or not the install put a BOM
>> (bill of materials) in the receipts directory. If it did, then try the
>> following:
>>
>> lsbom -f -l -s
>> /Library/Receipts/program_name_goes_here/Contents/Archive.bom | (cd /;
>> sudo xargs rm)
>>
>> But first make sure that:
>>
>> 1) A receipt was put there.
>> 2) The BOM was also put there (jump over to the Receipts directory,
>> find the program listing, control-click to open it (Contents) as a
>> folder and look for the Archive.bom or something very similar.
>
> Slick. The BOM is there, alright. I'll just use the first part of the
> command to remove the stuff I don't need. Thanks for the tip - this is
> really good to know! Here's a followup question: suppose application X
> has file Y in its BOM and application Z also has file Y in its BOM. Is
> there a mechanism for keeping track of shared resources, or does the 
> BOM
> list only those items actually installed?
>
> Bill
> P.S.
>
> For those wondering what
> lsbom -f -l -s
> /Library/Receipts/program_name_goes_here/Contents/Archive.bom
>    | (cd /; sudo xargs rm)
>
> could possibly mean:
>
> lsbom is the command for listing the items in a bill of materials 
> (BOM).
> [ls is the unix command for listing the contents of a folder]
>
> -f -l -s are flags which tell lsbom to list files, symlinks and paths. 
> [a
> symlink in the unix world is very similar to an alias in the Mac world]
>
> /Library/yadayada is the full path to the BOM for the application.
>
> | is a pipe which takes the output of the lsbom and feeds it as an 
> input
> to the right hand side of the pipe
>
> (xx;yy) is a way to combine multiple commands on one line, so
>   cd / tells the computer to act as though it is sitting at the top of
> the startup partition
>   sudo says to run the next command as a super user (the Big Cheese
> administrator)
>   xargs says to pass each chunk (here: file name) to the following 
> command
>   rm says to remove (erase) the files [the scariest command in unix]
>
>
>
>
> | The next meeting of the Louisville Computer Society will
> | be May 27. The LCS Web page is <http://www.kymac.org>.
> | This list's page is <http://erdos.math.louisville.edu/macgroup>.
>
>
>



| The next meeting of the Louisville Computer Society will
| be May 27. The LCS Web page is <http://www.kymac.org>.
| This list's page is <http://erdos.math.louisville.edu/macgroup>.


Reply via email to