▲ 1 r/unRAID

Update Locate database indexing external drive

I'm having good luck running Unix Locate on my macOS startup disk, but would like to extend search to external volumes. The web tells me that the command to update an external drive's database is:

do shell script "sudo /usr/libexec/locate.updatedb --searchpaths= '/Volumes/Films/' --output '/var/db/Films.database'" with administrator privileges

(using "do shell script" to run the unix script from an Applescript, as I will do in practice). This command doesn't work; it updates the default Locate database instead. I'd be happy to have the external drive's database on the startup disk, probably in /var/db, but of course need it to index the external drive. What am I doing wrong?

reddit.com
u/jrethorst — 5 days ago
▲ 9 r/unix

Update Locate database indexing external drive

I'm having good luck running Unix Locate on my macOS startup disk, but would like to extend search to external volumes. The web tells me that the command to update an external drive's database is:

do shell script "sudo /usr/libexec/locate.updatedb --searchpaths= '/Volumes/Films/' --output '/var/db/Films.database'" with administrator privileges

(using "do shell script" to run the unix script from an Applescript, as I will do in practice). This command doesn't work; it updates the default Locate database instead. I'd be happy to have the external drive's database on the startup disk, probably in /var/db, but of course need it to index the external drive. What am I doing wrong?

reddit.com
u/jrethorst — 6 days ago

"French Fluent" etc. is from a Facebook ad but I've seen it elsewhere. Anyone know its name?

Thank you.

u/jrethorst — 1 month ago