findutils-desc.xml 2.2 KB

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