Skip to content

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

License

Notifications You must be signed in to change notification settings

oltoko/PathCopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Languages