View Single Post

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

NOTE: This message was sent thru a mail2news gateway.
No effort was made to verify the identity of the sender.
--------------------------------------------------------

pgp trash troll delete

Wong Kum Weng <jinrong@bigfoot.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1


> Mark Hill said the following on 05/16/04 07:05:
> | 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.
> |


> To skip the directories, use with the -type f parameter which will only
> search for files, e.g.


> find / -type f > /tmp/all-files.txt


> - --


> Best regards,


> Wong Kum Weng, Andrew


> +----------------------------------------------------------------------+


> ~ Keep away from people who try to belittle your ambitions. Small people
> ~ always do that, but the really great ones make you feel that you too,
> ~ can become great.
> -- Mark Twain
> +----------------------------------------------------------------------+
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)


> iD8DBQFAptP61bXyj+2X4JERAoFLAKCQpwehw+K4G+XCWuDOUU 8qNZkopwCfe+YW
> YwzGJTe9BMs6Dmcs57hK0P4=
> =g11L
> -----END PGP SIGNATURE-----




































Reply With Quote