Changes between Initial Version and Version 3 of Ticket #53734


Ignore:
Timestamp:
Mar 7, 2017, 3:14:17 PM (7 years ago)
Author:
mf2k (Frank Schima)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53734

    • Property Port slocate added
  • Ticket #53734 – Description

    initial v3  
    33
    44I have added one line in the updatedb.conf file in path /opt/local/etc/:
     5{{{
    56PRUNEPATHS="/Volumes/Mac-Backup /Volumes/Data-Backup /tmp /private/tmp"
     7}}}
    68
    79To update the slocate database I run the following command:
     10{{{
    811sudo /opt/local/bin/slocate -u -c /opt/local/etc/updatedb.conf
     12}}}
    913
    1014However, slocate ignores PRUNEPATHS in updatedb.conf.
    1115
    1216Here is an example:
    13 
     17{{{
    1418roberts-power-mac-g5:~ robert$ ls /tmp
    1519.                  com.hp.launchport  launch-Sx1bOr      launchd-395.Fg6U5B
     
    1923/private/tmp/launch-Sx1bOr
    2024/private/tmp/launch-Sx1bOr/Listeners
     25}}}
    2126
    2227I search for launch-Sx1bOr in /tmp, slocate shows it found in /private/tmp/ which path is in PRUNEPATHS.