In: , ,
On: 2004 / 01 / 25
Shorter URL for this post: http://ozh.in/j

A slighly better way to update your file name database than just issue a updatedb :

  1. #!/bin/bash
  2. # Better than updatedb
  3. #
  4. echo -n "Updating locatedb..."
  5. updatedb --prunepaths="/tmp /proc /var/tmp"
  6. date > /var/log/updatedb.log
  7. chmod +r /var/log/updatedb.log
  8. echo " done."

Shorter URL

Want to share or tweet this post? Please use this short URL: http://ozh.in/j

Metastuff

This entry "Better update" was posted on 25/01/2004 at 10:14 pm and is tagged with , ,
Watch this discussion : Comments RSS 2.0.

No Comment yet

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar and sign for a free account
Spam: Various spam plugins may be activated. I'll put pins in a Voodoo doll if you spam me.

Read more ?