cpbuf

command module
v0.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2024 License: MIT Imports: 4 Imported by: 0

README

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/cpbuf@v0.0.17

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL