[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about how "aptitude search" is used



On Tue, Apr 15, 2008 at 09:20:21PM -0400, Douglas A. Tutty wrote:
 
> The only search string I have in a script is my backup script which
> generates a list of all installed packages not automatically installed
> (i.e. manually installed packages).  Off the top of my head its ~i!~M
> but I could be wrong.

That's what I do (inspired by Doug).

#!/bin/sh

[...]

aptitude search '~i!~M' > /home/amp/bak/pkg.list

I think it will be trivial to adapt to any changes.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: