View Single Post

   
  #2 (permalink)  
Old 02-19-2008, 11:33 AM
Mark Hill
 
Posts: n/a
Default Re: I would like to compare all the names.....

On Sat, 15 May 2004 22:20:16 GMT,
dryphone <andsal@nospam.inwind.it> wrote:

> Since I would like to compare all the names of the files
> beginning from my / and the files listed in MANIFEST.bz2,


Do you want to compare ownerships/permissions with those listed on your
system with those in MANIFEST.bz2? If so, I've written a perl script
that can do this:
<http://www.mark.ukfsn.org/nix/slackware/comparepkg.txt>
(You'll have bunzip2 the MANIFEST.bz2 file before use.)

If you want to find 'orphan' files that aren't listed in MANIFEST.bz2,
then perhaps this recent posting will help:
<http://groups.google.co.uk/groups?selm=Pine.LNX.4.58.0405100918270.13182%40wo rker.huntbros.net>

> who is the bash command to create a file with all the
> dir/files ?


As root:
find / > /tmp/all-files.txt
(This will take some time.)

However, you may want to skip some directories like /home. man find has
details on how you can make find do this.

--
Mark Hill <usenet@mark.ukfsn.org>
GPG KeyID: 4A3B58AC
Reply With Quote