Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'you want pkg-remove' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
you want pkg-remove
Authored by: mithras on Sep 17, '01 03:25:12PM
i haven't used pkg-remove, but remember seeing it somewhere... ...aha, here it is. Let us all know how it works: http://macosx.forked.net/misc.php3

[ Reply to This | # ]
another way to remove a list of files
Authored by: bking on Sep 17, '01 05:18:45PM

While pkg-remove is probably the correct answer to this question,
you can remove a list of files by doing this:
'cat file_list | xargs rm'

Where 'file_list' is a file containing the names of the files to delete.
The filenames should be in the current directory or have a valid path.

you can test it like this:

touch foo1 foo2 foo3 foo4
ls -1 foo? > file_list
ls foo?
cat file_list
cat file_list | xargs rm
ls foo?



[ Reply to This | # ]
just delete the directories
Authored by: midgetboss on Dec 08, '01 08:02:53PM

I looked around on the web for a solution, and I found that you can just delete the directories where XFree86 was installed (http://www.xfree86.org/pipermail/newbie/2001-July/008762.html).

sudo rm -r /usr/X11R6
sudo rm -r /etc/X11
sudo rm -r /Applications/XDarwin.app

This will delete any other packages you've installed, so be careful.



[ Reply to This | # ]