Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.06 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.06 KB

PathCopy

A cli command which copies the absolute Path of the given file or directory to the clipboard.

Installation

Homebrew

$ brew tap oltoko/brew
$ brew install pathcopy

Debian based

$ wget https://github.com/oltoko/PathCopy/releases/download/0.2.1/pc_0.2.1_amd64.deb
$ sudo dpkg -i pc_0.2.1_amd64.deb

Other

Use the binaries for the latest Release.

Usage

pc [OPTIONS] <path>...

FLAGS:
    -h, --help       Prints help information
    -v, --version    Prints version information

OPTIONS:
    -s, --separator <separator>    The separator which should be used when multiple paths are put into the clipboard.
                                   You can choose between 3 separators:
                                   	%w - A whitespace character [default]
                                   	%n - The system specific line break
                                   	%t - A tab character

ARGS:
    <path>...    The file(s) or directory(s) from which the absolute path(s) should be copied.