How to add specific directories to “updatedb” (locate) search path? The 2019 Stack Overflow Developer Survey Results Are Inupdatedb commandUpdatedb unrecognized option '--localpaths='Restrict search of locate to specific directoriesWhy don't find and locate search /bin?How can I know how long it takes to run updatedb daily job?Locate specific foldersExclude directories in locate searchHow is updatedb so much faster than find?How to locate a path?What kind of database do `updatedb` and `locate` use?How make updatedb ignore ~ backup fileslocate: using updatedb to create a database of directories only?
I looked up a future colleague on LinkedIn before I started a job. I told my colleague about it and he seemed surprised. Should I apologize?
If the Wish spell is used to duplicate the effect of Simulacrum, are existing duplicates destroyed?
Is three citations per paragraph excessive for undergraduate research paper?
Monty Hall variation
How was Skylab's orbit inclination chosen?
Springs with some finite mass
How are circuits which use complex ICs normally simulated?
Deadlock Graph and Interpretation, solution to avoid
Is this food a bread or a loaf?
Why could you hear an Amstrad CPC working?
Why is Grand Jury testimony secret?
Is bread bad for ducks?
What does "rabbited" mean/imply in this sentence?
Extreme, unacceptable situation and I can't attend work tomorrow morning
aging parents with no investments
Access elements in std::string where positon of string is greater than its size
Is "plugging out" electronic devices an American expression?
What tool would a Roman-age civilization have to grind silver and other metals into dust?
How to manage monthly salary
"Riffle" two strings
Does a dangling wire really electrocute me if I'm standing in water?
JSON.serialize: is it possible to suppress null values of a map?
Why can Shazam do this?
It's possible to achieve negative score?
How to add specific directories to “updatedb” (locate) search path?
The 2019 Stack Overflow Developer Survey Results Are Inupdatedb commandUpdatedb unrecognized option '--localpaths='Restrict search of locate to specific directoriesWhy don't find and locate search /bin?How can I know how long it takes to run updatedb daily job?Locate specific foldersExclude directories in locate searchHow is updatedb so much faster than find?How to locate a path?What kind of database do `updatedb` and `locate` use?How make updatedb ignore ~ backup fileslocate: using updatedb to create a database of directories only?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I keep my digital music and digital photos in directories in a Windows partition, mounted at /media/win_c on my dual-boot box.
I'd like to include those directories—but only those directories—in the locate database.
However, as far as I can make out, updatedb.conf only offers options to exclude directories, not add them.
Of course, I could remove /media from PRUNEPATHS, and then add a whole bunch of subdirectories (/media/win_c/Drivers, /media/win_c/ProgramData...) but this seems a very clunky way of doing it—surely there's a more elegant solution?
(I tried just creating soft links to the Windows directories from an indexed linux partition, but that doesn't seem to help.)
linux locate updatedb
add a comment |
I keep my digital music and digital photos in directories in a Windows partition, mounted at /media/win_c on my dual-boot box.
I'd like to include those directories—but only those directories—in the locate database.
However, as far as I can make out, updatedb.conf only offers options to exclude directories, not add them.
Of course, I could remove /media from PRUNEPATHS, and then add a whole bunch of subdirectories (/media/win_c/Drivers, /media/win_c/ProgramData...) but this seems a very clunky way of doing it—surely there's a more elegant solution?
(I tried just creating soft links to the Windows directories from an indexed linux partition, but that doesn't seem to help.)
linux locate updatedb
Which updatedb implementation do you have? There are several. Tell us the output ofupdatedb --version.
– Gilles
Aug 22 '14 at 23:27
Sorry, should've given that - "updatedb (mlocate) 0.26"
– ionh
Aug 23 '14 at 16:33
add a comment |
I keep my digital music and digital photos in directories in a Windows partition, mounted at /media/win_c on my dual-boot box.
I'd like to include those directories—but only those directories—in the locate database.
However, as far as I can make out, updatedb.conf only offers options to exclude directories, not add them.
Of course, I could remove /media from PRUNEPATHS, and then add a whole bunch of subdirectories (/media/win_c/Drivers, /media/win_c/ProgramData...) but this seems a very clunky way of doing it—surely there's a more elegant solution?
(I tried just creating soft links to the Windows directories from an indexed linux partition, but that doesn't seem to help.)
linux locate updatedb
I keep my digital music and digital photos in directories in a Windows partition, mounted at /media/win_c on my dual-boot box.
I'd like to include those directories—but only those directories—in the locate database.
However, as far as I can make out, updatedb.conf only offers options to exclude directories, not add them.
Of course, I could remove /media from PRUNEPATHS, and then add a whole bunch of subdirectories (/media/win_c/Drivers, /media/win_c/ProgramData...) but this seems a very clunky way of doing it—surely there's a more elegant solution?
(I tried just creating soft links to the Windows directories from an indexed linux partition, but that doesn't seem to help.)
linux locate updatedb
linux locate updatedb
edited Dec 22 '15 at 5:09
user394
5,092165174
5,092165174
asked Aug 22 '14 at 22:47
ionhionh
5316
5316
Which updatedb implementation do you have? There are several. Tell us the output ofupdatedb --version.
– Gilles
Aug 22 '14 at 23:27
Sorry, should've given that - "updatedb (mlocate) 0.26"
– ionh
Aug 23 '14 at 16:33
add a comment |
Which updatedb implementation do you have? There are several. Tell us the output ofupdatedb --version.
– Gilles
Aug 22 '14 at 23:27
Sorry, should've given that - "updatedb (mlocate) 0.26"
– ionh
Aug 23 '14 at 16:33
Which updatedb implementation do you have? There are several. Tell us the output of
updatedb --version.– Gilles
Aug 22 '14 at 23:27
Which updatedb implementation do you have? There are several. Tell us the output of
updatedb --version.– Gilles
Aug 22 '14 at 23:27
Sorry, should've given that - "updatedb (mlocate) 0.26"
– ionh
Aug 23 '14 at 16:33
Sorry, should've given that - "updatedb (mlocate) 0.26"
– ionh
Aug 23 '14 at 16:33
add a comment |
3 Answers
3
active
oldest
votes
There's no option for that in updatedb.conf. You'll have to arrange to pass options to updatedb manually.
With updatedb from GNU findutils, pass --localpaths.
updatedb --localpaths '/ /media/win_c/somewhere/Music /media/win_c/somewhere/Photos'
With updatedb from mlocate, there doesn't appear a way to specify multiple roots or exclude a directory from pruning, so I think you're stuck with one database per directory. Set the environment variable LOCATE_PATH to the list of databases:
updatedb --output ~/.media.mlocate.db --database-root /media/win_c/somewhere --prunepaths '/media/win_c/somewhere/Videos'
export LOCATE_PATH="/var/lib/mlocate/mlocate.db:$HOME/.media.mlocate.db"
add a comment |
With the "mlocate" implementation, use the --database-root option, without pruning anything. In the updatedb(8) man page:
-U, --database-root PATH
Store only results of scanning the file system subtree rooted at
PATH to the generated database. The whole file system is
scanned by default.
But you may need to use a separate output file (--output) too. I'm not sure that you can merge both databases (you can try).
Other implementations may have similar options.
That's the mlocate implementation. Different updatedb implementations have different options.
– Gilles
Aug 22 '14 at 23:27
@Gilles Thanks, indeed I'm usingmlocate. I've edited my answer. I would be surprised if other implementations did not have a similar option.
– vinc17
Aug 22 '14 at 23:30
Using "locate" in Ubuntu the command is what you answered, also add export as first answer point out just to sure locate include the root path and the path just added
– Diego Andrés Díaz Espinoza
Sep 14 '16 at 16:09
add a comment |
gotscha now i got it.. or?
mlocate is not that easy but this works quite good
for each -U, --database-root PATH in mlocate it seems you need a new db!?
Usage: <script> 'term'
#!/bin/dash
dbfile="$HOME/.recordings.locate.db";
daysToUpdate=7;
create=0;
# list of paths
paths="/master/media/music /media/recordings";
# list of terms
termA=$( echo "$1" | sed 's/ /\ /g' );
termB=$( echo "$1" | sed 's/ /_/g' );
# realtime scan:
#find $paths -iname "*$termA*" -o -iname "*$termB*"
# --
if [ ! -f "$dbfile" ]; then
create=1;
fi
if [ "$create" -ne 1 ] && [ $(find "$dbfile" -mtime +$daysToUpdate -print) ];
then
echo "File $dbfile exists and is older than $daysToUpdate days"
create=1;
fi
if [ "$create" = "1" ] ; then
echo "Update custom dbs please wait...";
touch "$dbfile"; # mark for inside actions
cnt=0;
for path in $paths
do
echo "scan: $path to $dbfile.$cnt";
updatedb -l 0 -U $path -o "$dbfile.$cnt";
cnt=$(expr $cnt + 1);
done
fi
cnt=0;
for path in $paths
do
echo "scan: $path of cache $dbfile.$cnt";
locate -d "$dbfile.$cnt" $termA
locate -d "$dbfile.$cnt" $termB
cnt=$(expr $cnt + 1);
done
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f151700%2fhow-to-add-specific-directories-to-updatedb-locate-search-path%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
There's no option for that in updatedb.conf. You'll have to arrange to pass options to updatedb manually.
With updatedb from GNU findutils, pass --localpaths.
updatedb --localpaths '/ /media/win_c/somewhere/Music /media/win_c/somewhere/Photos'
With updatedb from mlocate, there doesn't appear a way to specify multiple roots or exclude a directory from pruning, so I think you're stuck with one database per directory. Set the environment variable LOCATE_PATH to the list of databases:
updatedb --output ~/.media.mlocate.db --database-root /media/win_c/somewhere --prunepaths '/media/win_c/somewhere/Videos'
export LOCATE_PATH="/var/lib/mlocate/mlocate.db:$HOME/.media.mlocate.db"
add a comment |
There's no option for that in updatedb.conf. You'll have to arrange to pass options to updatedb manually.
With updatedb from GNU findutils, pass --localpaths.
updatedb --localpaths '/ /media/win_c/somewhere/Music /media/win_c/somewhere/Photos'
With updatedb from mlocate, there doesn't appear a way to specify multiple roots or exclude a directory from pruning, so I think you're stuck with one database per directory. Set the environment variable LOCATE_PATH to the list of databases:
updatedb --output ~/.media.mlocate.db --database-root /media/win_c/somewhere --prunepaths '/media/win_c/somewhere/Videos'
export LOCATE_PATH="/var/lib/mlocate/mlocate.db:$HOME/.media.mlocate.db"
add a comment |
There's no option for that in updatedb.conf. You'll have to arrange to pass options to updatedb manually.
With updatedb from GNU findutils, pass --localpaths.
updatedb --localpaths '/ /media/win_c/somewhere/Music /media/win_c/somewhere/Photos'
With updatedb from mlocate, there doesn't appear a way to specify multiple roots or exclude a directory from pruning, so I think you're stuck with one database per directory. Set the environment variable LOCATE_PATH to the list of databases:
updatedb --output ~/.media.mlocate.db --database-root /media/win_c/somewhere --prunepaths '/media/win_c/somewhere/Videos'
export LOCATE_PATH="/var/lib/mlocate/mlocate.db:$HOME/.media.mlocate.db"
There's no option for that in updatedb.conf. You'll have to arrange to pass options to updatedb manually.
With updatedb from GNU findutils, pass --localpaths.
updatedb --localpaths '/ /media/win_c/somewhere/Music /media/win_c/somewhere/Photos'
With updatedb from mlocate, there doesn't appear a way to specify multiple roots or exclude a directory from pruning, so I think you're stuck with one database per directory. Set the environment variable LOCATE_PATH to the list of databases:
updatedb --output ~/.media.mlocate.db --database-root /media/win_c/somewhere --prunepaths '/media/win_c/somewhere/Videos'
export LOCATE_PATH="/var/lib/mlocate/mlocate.db:$HOME/.media.mlocate.db"
answered Aug 22 '14 at 23:35
GillesGilles
547k13011131628
547k13011131628
add a comment |
add a comment |
With the "mlocate" implementation, use the --database-root option, without pruning anything. In the updatedb(8) man page:
-U, --database-root PATH
Store only results of scanning the file system subtree rooted at
PATH to the generated database. The whole file system is
scanned by default.
But you may need to use a separate output file (--output) too. I'm not sure that you can merge both databases (you can try).
Other implementations may have similar options.
That's the mlocate implementation. Different updatedb implementations have different options.
– Gilles
Aug 22 '14 at 23:27
@Gilles Thanks, indeed I'm usingmlocate. I've edited my answer. I would be surprised if other implementations did not have a similar option.
– vinc17
Aug 22 '14 at 23:30
Using "locate" in Ubuntu the command is what you answered, also add export as first answer point out just to sure locate include the root path and the path just added
– Diego Andrés Díaz Espinoza
Sep 14 '16 at 16:09
add a comment |
With the "mlocate" implementation, use the --database-root option, without pruning anything. In the updatedb(8) man page:
-U, --database-root PATH
Store only results of scanning the file system subtree rooted at
PATH to the generated database. The whole file system is
scanned by default.
But you may need to use a separate output file (--output) too. I'm not sure that you can merge both databases (you can try).
Other implementations may have similar options.
That's the mlocate implementation. Different updatedb implementations have different options.
– Gilles
Aug 22 '14 at 23:27
@Gilles Thanks, indeed I'm usingmlocate. I've edited my answer. I would be surprised if other implementations did not have a similar option.
– vinc17
Aug 22 '14 at 23:30
Using "locate" in Ubuntu the command is what you answered, also add export as first answer point out just to sure locate include the root path and the path just added
– Diego Andrés Díaz Espinoza
Sep 14 '16 at 16:09
add a comment |
With the "mlocate" implementation, use the --database-root option, without pruning anything. In the updatedb(8) man page:
-U, --database-root PATH
Store only results of scanning the file system subtree rooted at
PATH to the generated database. The whole file system is
scanned by default.
But you may need to use a separate output file (--output) too. I'm not sure that you can merge both databases (you can try).
Other implementations may have similar options.
With the "mlocate" implementation, use the --database-root option, without pruning anything. In the updatedb(8) man page:
-U, --database-root PATH
Store only results of scanning the file system subtree rooted at
PATH to the generated database. The whole file system is
scanned by default.
But you may need to use a separate output file (--output) too. I'm not sure that you can merge both databases (you can try).
Other implementations may have similar options.
edited Aug 22 '14 at 23:34
answered Aug 22 '14 at 23:24
vinc17vinc17
9,1241736
9,1241736
That's the mlocate implementation. Different updatedb implementations have different options.
– Gilles
Aug 22 '14 at 23:27
@Gilles Thanks, indeed I'm usingmlocate. I've edited my answer. I would be surprised if other implementations did not have a similar option.
– vinc17
Aug 22 '14 at 23:30
Using "locate" in Ubuntu the command is what you answered, also add export as first answer point out just to sure locate include the root path and the path just added
– Diego Andrés Díaz Espinoza
Sep 14 '16 at 16:09
add a comment |
That's the mlocate implementation. Different updatedb implementations have different options.
– Gilles
Aug 22 '14 at 23:27
@Gilles Thanks, indeed I'm usingmlocate. I've edited my answer. I would be surprised if other implementations did not have a similar option.
– vinc17
Aug 22 '14 at 23:30
Using "locate" in Ubuntu the command is what you answered, also add export as first answer point out just to sure locate include the root path and the path just added
– Diego Andrés Díaz Espinoza
Sep 14 '16 at 16:09
That's the mlocate implementation. Different updatedb implementations have different options.
– Gilles
Aug 22 '14 at 23:27
That's the mlocate implementation. Different updatedb implementations have different options.
– Gilles
Aug 22 '14 at 23:27
@Gilles Thanks, indeed I'm using
mlocate. I've edited my answer. I would be surprised if other implementations did not have a similar option.– vinc17
Aug 22 '14 at 23:30
@Gilles Thanks, indeed I'm using
mlocate. I've edited my answer. I would be surprised if other implementations did not have a similar option.– vinc17
Aug 22 '14 at 23:30
Using "locate" in Ubuntu the command is what you answered, also add export as first answer point out just to sure locate include the root path and the path just added
– Diego Andrés Díaz Espinoza
Sep 14 '16 at 16:09
Using "locate" in Ubuntu the command is what you answered, also add export as first answer point out just to sure locate include the root path and the path just added
– Diego Andrés Díaz Espinoza
Sep 14 '16 at 16:09
add a comment |
gotscha now i got it.. or?
mlocate is not that easy but this works quite good
for each -U, --database-root PATH in mlocate it seems you need a new db!?
Usage: <script> 'term'
#!/bin/dash
dbfile="$HOME/.recordings.locate.db";
daysToUpdate=7;
create=0;
# list of paths
paths="/master/media/music /media/recordings";
# list of terms
termA=$( echo "$1" | sed 's/ /\ /g' );
termB=$( echo "$1" | sed 's/ /_/g' );
# realtime scan:
#find $paths -iname "*$termA*" -o -iname "*$termB*"
# --
if [ ! -f "$dbfile" ]; then
create=1;
fi
if [ "$create" -ne 1 ] && [ $(find "$dbfile" -mtime +$daysToUpdate -print) ];
then
echo "File $dbfile exists and is older than $daysToUpdate days"
create=1;
fi
if [ "$create" = "1" ] ; then
echo "Update custom dbs please wait...";
touch "$dbfile"; # mark for inside actions
cnt=0;
for path in $paths
do
echo "scan: $path to $dbfile.$cnt";
updatedb -l 0 -U $path -o "$dbfile.$cnt";
cnt=$(expr $cnt + 1);
done
fi
cnt=0;
for path in $paths
do
echo "scan: $path of cache $dbfile.$cnt";
locate -d "$dbfile.$cnt" $termA
locate -d "$dbfile.$cnt" $termB
cnt=$(expr $cnt + 1);
done
add a comment |
gotscha now i got it.. or?
mlocate is not that easy but this works quite good
for each -U, --database-root PATH in mlocate it seems you need a new db!?
Usage: <script> 'term'
#!/bin/dash
dbfile="$HOME/.recordings.locate.db";
daysToUpdate=7;
create=0;
# list of paths
paths="/master/media/music /media/recordings";
# list of terms
termA=$( echo "$1" | sed 's/ /\ /g' );
termB=$( echo "$1" | sed 's/ /_/g' );
# realtime scan:
#find $paths -iname "*$termA*" -o -iname "*$termB*"
# --
if [ ! -f "$dbfile" ]; then
create=1;
fi
if [ "$create" -ne 1 ] && [ $(find "$dbfile" -mtime +$daysToUpdate -print) ];
then
echo "File $dbfile exists and is older than $daysToUpdate days"
create=1;
fi
if [ "$create" = "1" ] ; then
echo "Update custom dbs please wait...";
touch "$dbfile"; # mark for inside actions
cnt=0;
for path in $paths
do
echo "scan: $path to $dbfile.$cnt";
updatedb -l 0 -U $path -o "$dbfile.$cnt";
cnt=$(expr $cnt + 1);
done
fi
cnt=0;
for path in $paths
do
echo "scan: $path of cache $dbfile.$cnt";
locate -d "$dbfile.$cnt" $termA
locate -d "$dbfile.$cnt" $termB
cnt=$(expr $cnt + 1);
done
add a comment |
gotscha now i got it.. or?
mlocate is not that easy but this works quite good
for each -U, --database-root PATH in mlocate it seems you need a new db!?
Usage: <script> 'term'
#!/bin/dash
dbfile="$HOME/.recordings.locate.db";
daysToUpdate=7;
create=0;
# list of paths
paths="/master/media/music /media/recordings";
# list of terms
termA=$( echo "$1" | sed 's/ /\ /g' );
termB=$( echo "$1" | sed 's/ /_/g' );
# realtime scan:
#find $paths -iname "*$termA*" -o -iname "*$termB*"
# --
if [ ! -f "$dbfile" ]; then
create=1;
fi
if [ "$create" -ne 1 ] && [ $(find "$dbfile" -mtime +$daysToUpdate -print) ];
then
echo "File $dbfile exists and is older than $daysToUpdate days"
create=1;
fi
if [ "$create" = "1" ] ; then
echo "Update custom dbs please wait...";
touch "$dbfile"; # mark for inside actions
cnt=0;
for path in $paths
do
echo "scan: $path to $dbfile.$cnt";
updatedb -l 0 -U $path -o "$dbfile.$cnt";
cnt=$(expr $cnt + 1);
done
fi
cnt=0;
for path in $paths
do
echo "scan: $path of cache $dbfile.$cnt";
locate -d "$dbfile.$cnt" $termA
locate -d "$dbfile.$cnt" $termB
cnt=$(expr $cnt + 1);
done
gotscha now i got it.. or?
mlocate is not that easy but this works quite good
for each -U, --database-root PATH in mlocate it seems you need a new db!?
Usage: <script> 'term'
#!/bin/dash
dbfile="$HOME/.recordings.locate.db";
daysToUpdate=7;
create=0;
# list of paths
paths="/master/media/music /media/recordings";
# list of terms
termA=$( echo "$1" | sed 's/ /\ /g' );
termB=$( echo "$1" | sed 's/ /_/g' );
# realtime scan:
#find $paths -iname "*$termA*" -o -iname "*$termB*"
# --
if [ ! -f "$dbfile" ]; then
create=1;
fi
if [ "$create" -ne 1 ] && [ $(find "$dbfile" -mtime +$daysToUpdate -print) ];
then
echo "File $dbfile exists and is older than $daysToUpdate days"
create=1;
fi
if [ "$create" = "1" ] ; then
echo "Update custom dbs please wait...";
touch "$dbfile"; # mark for inside actions
cnt=0;
for path in $paths
do
echo "scan: $path to $dbfile.$cnt";
updatedb -l 0 -U $path -o "$dbfile.$cnt";
cnt=$(expr $cnt + 1);
done
fi
cnt=0;
for path in $paths
do
echo "scan: $path of cache $dbfile.$cnt";
locate -d "$dbfile.$cnt" $termA
locate -d "$dbfile.$cnt" $termB
cnt=$(expr $cnt + 1);
done
answered Jun 9 '18 at 23:12
f bf b
63
63
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f151700%2fhow-to-add-specific-directories-to-updatedb-locate-search-path%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Which updatedb implementation do you have? There are several. Tell us the output of
updatedb --version.– Gilles
Aug 22 '14 at 23:27
Sorry, should've given that - "updatedb (mlocate) 0.26"
– ionh
Aug 23 '14 at 16:33