Skip to content

enuesaa/cpbuf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpbuf

A CLI tool to copy and paste files.

While cp would copy and paste in one-time operation, cpbuf is stateful.

ci

Install

go install github.com/enuesaa/[email protected]

Usage

$ cpbuf --help
A CLI tool to copy and paste files.
`cpbuf` uses buf-dir to save files temporarily.

Available Commands:
  copy        Copy file to buf dir (alias: c)
  list        List files in buf dir (alias: l)
  paste       Paste files to current dir (alias: p)
  reset       Clear copied files (alias: r)

Flags:
      --help      Show help information
      --version   Show version

Copy files

cpbuf copy a.txt

After executing this command, the buf dir ~/.cpbuf would be created.

Paste files

cpbuf paste

About

A CLI tool to copy and paste files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages