Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] locate can not find a file
Date: Wed, 15 Mar 2017 15:09:44
Message-Id: 83607032-3111-80ea-2186-ea6206f8d55a@sys-concept.com
1 Yes, I run as root: updatedb
2 But when run:
3 locate consent_extraction*
4
5 It only list one file:
6 /home/fd/consent_extraction1.pdf (this is a link file)
7 /home/fd/business/forms/consent_extraction1.pdf
8
9 It can not find: "consent_extraction.pdf" both files are in same directory
10
11 ll business/forms/
12 total 688
13 ...
14 -rw-r--r-- 1 fd fd 63032 Mar 15 08:52 consent_extraction1.pdf
15 -rw-r--r-- 1 fd fd 397649 Mar 14 20:05 consent_extraction.pdf
16
17 I observe the same behaviour on my local machine and remote machine.
18
19 Running "find" finds both files
20
21 find . -name '*consent_extraction*'
22 ./business/forms/consent_extraction.pdf
23 ./business/forms/consent_extraction1.pdf
24 ./consent_extraction1.pdf
25
26 Why?
27 --
28 Thelma

Replies

Subject Author
Re: [gentoo-user] locate can not find a file Alarig Le Lay <alarig@××××××××××.fr>
Re: [gentoo-user] locate can not find a file Neil Bothwick <neil@××××××××××.uk>