Skip to content

Open smb:// links from Firefox or any other application

Notifications You must be signed in to change notification settings

dinvlad/smbopen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Provided with an smb:// link to a Samba resource (host, folder, or file), this bash script automounts all the public 
Samba shares of the matching host, and opens the correspoding full path to the resource in your favourite file 
manager $FM; after you're done with browsing the resource or using it (no need to download anything any more!:), 
close $FM, and the script will automatically unmount everything pertaining to this resource 
and remove the correspoding folders in $MOUNT_ROOT.

Usage: smbopen smb://path, where 'path' is 'host[/]', 'host/share[/]', 'host/share/file_or_folder[/]' etc.
You can use the script as an smb:// protocol handler in Firefox, Opera (using xdg-open) etc. 
It understands non-ASCII symbols in links, as well as %XX-encoding.

Caveat: Currently you may use only those FMs that don't detach from the script while being launched.

For more information, see http://github.com/kremso/smbmounter

About

Open smb:// links from Firefox or any other application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published