diff options
author | Rafaël Jafferali | 2025-07-15 23:48:02 +0200 |
---|---|---|
committer | Rafaël Jafferali | 2025-07-15 23:48:02 +0200 |
commit | b686fa54ab3d651b3ab189544fcbcedd0856bab3 (patch) | |
tree | 3543529ec7b7e729ba1c0108ce275f1c9f662245 | |
parent | 3c6edfc515c7729560d36cecafd3716571c66e69 (diff) |
Added explanations to activate Spotlight search on the mounted volume
-rw-r--r-- | Mounting-on-login-for-OSX.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Mounting-on-login-for-OSX.md b/Mounting-on-login-for-OSX.md index 4b6d6ca..06876e4 100644 --- a/Mounting-on-login-for-OSX.md +++ b/Mounting-on-login-for-OSX.md @@ -48,3 +48,25 @@ Save the editor content as a *.plist file under `~/Library/LaunchAgents/gocryptf Log out and log in again to see if it works. If you have issues getting it working, you can remove the comments (`<!--` and `-->`) from debugging section. Don't forget to adjust the location of the debug log file. If you now re-login you will get some information in the log file that might help to resolve your issues. + +You may also have to remove `"` in the line pertaining to the `--extpass` argument, which then becomes: +``` +<string>--extpass=security find-generic-password -s gocryptfs -w</string> +``` + +## How to activate Spotlight search on the mounted volume +In the template plist file above, between the line containing the `--extpass` string and the line containing `/path/to/encrypted/folder`, insert the following lines: +``` + <string>-allow_other</string> + <string>-ko</string> + <string>local</string> +``` + +Then, when the volume is mounted, run the following command: +``` +mdutil -i on /Users/your-username/path/to/plain/folder +``` + +If you then run `mdutil -sa`, it should display a list of volumes, including the mounted volume followed by the status `Indexing enabled`. + +Indexing can take a few hours. You can click on Spotlight icon on the tray and type a few letters to see the indexing progress bar.
\ No newline at end of file |