Re: cleaning up a system
martin f krafft <madduck@madduck.net> writes:
> i'd like to remove all files that debian didn't install, obviously
> ignoring places like /home, /var, /tmp, /usr/local, /dev (any other
> suggestions i have overlooked?)?
>
> there's cruft, but it's too complicated and while i should configure it
> in the long run, for now i have thought of something like the following,
> which can run for a while. i took the output of a `find /` and deleted
> all lines corresponding to inodes in the above special directories
> (find has no exclude!!! wishlist!), and now i want to:
^^^^
Sure it does:
find / | egrep -v "/home|/var|/tmp|/usr/local|/dev"
;)
--
Brian Nelson <nelson@bignachos.com>
Reply to: