A UNC to URL Converter.
Project description
UNC2URL
A UNC to URL Converter.
Table of Contents
Install
$ pip3 install unc2url
# or
$ git clone https://github.com/alexanderwillner/unc2url && cd unc2url && make install
Examples
% unc2url '\\example.org\foo\bar'
smb://example.org/foo/bar
% unc2url --file '\\example.org\foo\bar'
file://example.org/foo/bar
% unc2url --reverse 'file://example.org/foo/bar'
\\example.org\foo\bar
% unc2url -h
usage: unc2url.py [-h] [-r] [-f] [--version] unc
Simple UNC to URL tool.
positional arguments:
unc An Uniform Naming Convention (UNC) link
optional arguments:
-h, --help show this help message and exit
-r, --reverse Reverse the conversation (url2unc)
-f, --file File URL (file://)
--version, -v show program's version number and exit
Alfred Workflow
To activate this workflow use the default keyword unc2url
and enter the UNC you want to get translated. You can also press ⌘+⇧+U to translate what is in your clipboard. Pressing Enter will copy the translations to the clipboard. Pressing ⇧+Enter will open the SMB link.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
unc2url-0.1.0.tar.gz
(4.1 kB
view hashes)