1 |
On mer. 15 mars 09:10:26 2017, thelma@×××××××××××.com wrote: |
2 |
> Yes, I run as root: updatedb |
3 |
> But when run: |
4 |
> locate consent_extraction* |
5 |
> |
6 |
> It only list one file: |
7 |
> /home/fd/consent_extraction1.pdf (this is a link file) |
8 |
> /home/fd/business/forms/consent_extraction1.pdf |
9 |
> |
10 |
> It can not find: "consent_extraction.pdf" both files are in same directory |
11 |
> |
12 |
> ll business/forms/ |
13 |
> total 688 |
14 |
> ... |
15 |
> -rw-r--r-- 1 fd fd 63032 Mar 15 08:52 consent_extraction1.pdf |
16 |
> -rw-r--r-- 1 fd fd 397649 Mar 14 20:05 consent_extraction.pdf |
17 |
> |
18 |
> I observe the same behaviour on my local machine and remote machine. |
19 |
> |
20 |
> Running "find" finds both files |
21 |
> |
22 |
> find . -name '*consent_extraction*' |
23 |
> ./business/forms/consent_extraction.pdf |
24 |
> ./business/forms/consent_extraction1.pdf |
25 |
> ./consent_extraction1.pdf |
26 |
> |
27 |
> Why? |
28 |
|
29 |
Hi, |
30 |
|
31 |
Do you have file consent_extraction1.pdf in your working directory? In |
32 |
that case, your shell will begin by expending your asterisk and you will |
33 |
really look for consent_extraction1.pdf. |
34 |
|
35 |
-- |
36 |
alarig |