https://github.com/oleg-jukovec/smb_bash_simple
Simple bash scripts to mount and umount samba shares.
https://github.com/oleg-jukovec/smb_bash_simple
bash samba-share smb
Last synced: 2 months ago
JSON representation
Simple bash scripts to mount and umount samba shares.
- Host: GitHub
- URL: https://github.com/oleg-jukovec/smb_bash_simple
- Owner: oleg-jukovec
- Created: 2020-06-12T08:46:29.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-12T08:58:56.000Z (about 6 years ago)
- Last Synced: 2025-01-16T20:48:36.678Z (over 1 year ago)
- Topics: bash, samba-share, smb
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### About
It's simple bash scripts that can be helpfull to mount and to unmount samba shares.
### Usage
You must fill the credentials.conf with cifs credentials and server.conf with server domain or ip.
Than you can get list of shares on the server:
$ ./list.sh
test2
test2
Mount a samba share
$ ./mount.sh test2
Explore and modify the share
$ ls test2
file1
file2
And unmount the samba share
$ ./umount.sh test2
### Requirements
The Samba client must be installed on your Linux system.
You can do it, for example, on Debian:
# apt-get install smbclient
### Notes
You can be free to modity mount options, samba protocol or it version in mount.sh.