⇤ ← Revision 1 as of 2018-08-25 11:24:51
248
Comment:
|
← Revision 2 as of 2018-08-26 15:21:46 ⇥
406
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
Line 11: | Line 10: |
== Search for a file == {{{ locate -d yourdatabase.db -i filename }}} search for that file, regardless of upper/lower case. EAT SHIT AND DIE |
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