https://github.com/junian/smb-remount-mac
https://github.com/junian/smb-remount-mac
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/junian/smb-remount-mac
- Owner: junian
- Created: 2024-08-12T17:45:02.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-27T08:52:09.000Z (almost 2 years ago)
- Last Synced: 2025-06-10T00:05:36.108Z (about 1 year ago)
- Language: Shell
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: docs/README.md
Awesome Lists containing this project
README
# smb-remount-mac
## Installation
1. Put this project to your `$HOME` directory, e.g. `/Users/username/smb-remount-mac`
2. Go to directory of this project. `cd /Users/username/smb-remount-mac`.
3. Edit variable in `.smb-remount` file
4. Run `./smb-remount -m`. This will also install a `LaunchAgent` that will run in background to check the Mounted smb permission.
5. That's it.
## Uninstallation
To uninstall the `LaunchAgent`, you can just execute `./smb-remount -u` or `./uninstall.sh`.
## Usage
```shell
$ ./smb-remount
Usage: smb-remount -option
smb-remount is a CLI tool to remount a SMB Volume with the correct options.
Options:
-m Mount a SMB volume based on '.smb-remount' config file and install a Launch Agent
to monitor the volume.
-d Run a SMB monitor to check SMB Volume. If user mount it using Finder, it'll detect
and remount the Volume with correct options.
This usage is meant for Launch Agent.
-u Uninstall SMB Remount Launch Agent.
-h Show this usage help.
-v Show Version.
```