Code and comments

  • palordrolap
    link
    fedilink
    211 months ago

    If you’re using find all the time, check to see if you have or can have some variant of locate installed. It indexes everything* on the system (* this is configurable) and can be queried with partial pathnames, even with regex, and it’s fast.

    • @SpaceNoodle@lemmy.world
      link
      fedilink
      211 months ago

      I use locate when I don’t know where the files are. Find has finer controls and can differentiate between regular files, links, directories, etc.