Skip to main content

I have created mlocate database with the contents of a particular folder. I see that the updatebdupdatedb doesn't include the path pointed by the symbolic links in the database.

How can I include the path pointed by the symbolic links in the database?

Surprisingly: mlocate has a default option -L or --follow that follows trailing symbolic links when checking file existence (default).

What purpose does it serves when updatedb doesn't include symlinks!


ReferReferences:

I have created mlocate database with the contents of a particular folder. I see that the updatebd doesn't include the path pointed by the symbolic links in the database.

How can I include the path pointed by the symbolic links in the database?

Surprisingly: mlocate has a default option -L or --follow that follows trailing symbolic links when checking file existence (default).

What purpose does it serves when updatedb doesn't include symlinks!


Refer:

I have created mlocate database with the contents of a particular folder. I see that the updatedb doesn't include the path pointed by the symbolic links in the database.

How can I include the path pointed by the symbolic links in the database?

Surprisingly: mlocate has a default option -L or --follow that follows trailing symbolic links when checking file existence (default).

What purpose does it serves when updatedb doesn't include symlinks!


References:

Source Link
Porcupine
  • 2.2k
  • 4
  • 26
  • 60

Updatedb include the path pointed by symbolic link

I have created mlocate database with the contents of a particular folder. I see that the updatebd doesn't include the path pointed by the symbolic links in the database.

How can I include the path pointed by the symbolic links in the database?

Surprisingly: mlocate has a default option -L or --follow that follows trailing symbolic links when checking file existence (default).

What purpose does it serves when updatedb doesn't include symlinks!


Refer: