updatedb.conf, Ignore files using pattern match/globbing
2
votes
1
answer
564
views
Running
locate
command with a file name returns multiple entries as,
a.py
a.pyc
a.py~
Obviously, i am not looking for binaries/compiled files. I tried to configure locate
command to ignore files that has pattern *.pyc, *.py~. Man page shows, locate command doesn't have globbing option.
How can one configure locate command to ignore files that match a pattern?
Asked by user93868
May 11, 2015, 02:36 AM
Last activity: Jun 20, 2024, 12:30 PM
Last activity: Jun 20, 2024, 12:30 PM