Skip to content

Instantly share code, notes, and snippets.

@ejoubaud
Created January 20, 2014 14:31
Show Gist options
  • Save ejoubaud/8520839 to your computer and use it in GitHub Desktop.
Save ejoubaud/8520839 to your computer and use it in GitHub Desktop.
Symlink my ntfs external hard drive on mount on OSX - /System/Library/LaunchDaemons/com.ejoubaud.symlinkntfsdisk.plist - /Users/ejoubaud/Library/Scripts/symlink_ntfs_disk
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" \
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<dict>
<key>Label</key>
<string>com.ejoubaud.symlinkntfsdisk</string>
<key>LowPriorityIO</key>
<true/>
<key>Program</key>
<string>/Users/ejoubaud/Library/Scripts/symlink_ntfs_disk.bash</string>
<key>WatchPaths</key>
<array>
<string>/Volumes</string>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment