findutils-desc.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <sect2><title>Contents of Findutils-&findutils-contversion;</title>
  2. <sect3><title>Program Files</title>
  3. <para>bigram, code, find, frcode, locate, updatedb and
  4. xargs</para></sect3>
  5. <sect3><title>Descriptions</title>
  6. <sect4><title>bigram</title>
  7. <para>bigram is used together with code to produce older-style locate
  8. databases. To learn more about these last three programs, read the locatedb.5
  9. manual page.</para></sect4>
  10. <sect4><title>code</title>
  11. <para>code is the ancestor of frcode. It was used in older-style locate
  12. databases.</para></sect4>
  13. <sect4><title>find</title>
  14. <para>The find program searches for files in a directory hierarchy which match
  15. a certain criteria. If no criteria is given, it lists all files in the
  16. current directory and its subdirectories.</para></sect4>
  17. <sect4><title>frcode</title>
  18. <para>frcode is called by updatedb to compress the list of file names
  19. using front-compression, which reduces the database size by a factor of
  20. 4 to 5.</para></sect4>
  21. <sect4><title>locate</title>
  22. <para>locate scans a database which contain all files and directories on a
  23. filesystem. This program lists the files and directories in this
  24. database matching a certain criteria. If a user is looking for a file this
  25. program will scan the database and tell him exactly where the files he
  26. requested are located. This only makes sense if the locate database is
  27. fairly up-to-date else it will provide out-of-date information.</para></sect4>
  28. <sect4><title>updatedb</title>
  29. <para>The updatedb program updates the locate database. It scans the entire
  30. file system (including other file system that are currently mounted
  31. unless it is told not to do so) and puts every directory and file it finds
  32. into the database that's used by the locate program which retrieves this
  33. information. It's good practice to update this database once a day to
  34. have it up-to-date whenever it is needed.</para></sect4>
  35. <sect4><title>xargs</title>
  36. <para>The xargs command applies a command to a list of files. If there is
  37. a need to perform the same command on multiple files, a file can be created
  38. that contains all these files (one per line) and use xargs to perform that
  39. command on the list.</para></sect4>
  40. </sect3>
  41. </sect2>