Skip to Content.
Sympa Menu

baslinux - Re: [BL] ipfwadm in BL3

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: 3aoo-cvfd AT dea.spamcon.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] ipfwadm in BL3
  • Date: Tue, 22 Feb 2005 09:39:45 +1300

David Moberg wrote:
>
> You can automatically remove packages with this command sequence:
> cd /
> rm -f `tar -ztf /full/path/to/package.tgz`
> rmdir `tar -ztf /full/path/to/package.tgz`

Couple of problems with those. You need the -v parameter
to get the filelist. You need to remove the data that
preceeds the filename (otherwise rm and rmdir will barf).
The rmdir will only delete the bottom directory of each
subtree (you can get around this by running it again and
again).

Cheers,
Steven

____________________________
http://www.basiclinux.com.ru




Archive powered by MHonArc 2.6.24.

Top of Page