Thanks to visit codestin.com
Credit goes to github.com

Skip to content

adamheins/xcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

xcp

A simple shell script that provides commands to cut, copy, and paste files from the command line. The motivation and basic usage is explained in this blog post.

I had previously implemented similar functionality as a much more complicated Python tool, which you can see in earlier commits of this repo.

Setup

Arrange for xcp.sh to be sourced by your shell, and run

mkdir ~/.xcp

once before using it.

Usage

xmark <files>  # add some files to the clipboard
xcp <dest>     # copy clipboard files somewhere
xmv <dest>     # move clipboard files somewhere

Note that the clipboard files can be copied to as many destinations as desired, but they can only be moved once.

License

MIT

About

Cut, copy, and paste files from the command line.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages