Updatedb and file organization

updatedb -l 0 -U path/to/update -o outputfile.db

create "outputfile.db" containing a db of all files, readable by every user (-l 0)

Search for a file

locate -d yourdatabase.db -i filename

search for that file, regardless of upper/lower case.

EAT SHIT AND DIE