> > dpkg --get-selections >> packages
> >
> > and on the new machine
> >
> > cat packages | dpkg --set-selections
>
> Hooray for the useless invocation of cat! =) Why not this one?
>
> dpkg --get-selections | cat > packages?
>
> Personally, I like this:
>
> dpkg --get-selections | ssh new-machine dpkg --set-selections
>
Very interesting. For backing up purposes, can this be used  to "restore" your 
machine to a prior state based on the "packages" file (down to reinstalling 
the same versions of the packages, and removing any new ones).



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to