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

Re: dpkg: can a single file be extracted?



> Um, how about:
> 
>    dpkg-deb --fsys-tarfile emacs.deb | tar -xvf - foo.el
> 
> This should extract foo.el from the .deb file. (You can specify a
> shell glob pattern instead of just a single filename too).

Don't forget to quote the glob-pattern so the shell doesn't try to interpret
it.

                                        Brian
                               ( bcwhite@verisim.com )

-------------------------------------------------------------------------------
    In theory, theory and practice are the same.  In practice, they're not.


Reply to: