LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

xcv

File cut, copy, and paste for terminal

TLDR

Cut files
$ xcv x [file1] [file2]
copy
Copy files
$ xcv c [file1] [file2]
copy
Paste files
$ xcv v
copy
List clipboard
$ xcv l
copy
Paste to directory
$ xcv v [directory/]
copy

SYNOPSIS

xcv x|c|v|l [options] [files]

DESCRIPTION

xcv provides clipboard-style cut, copy, and paste operations for files in the terminal. Files are staged in the ~/.xcv directory, acting as a persistent clipboard between operations. The x command cuts (moves) files to the staging area, c copies them, v pastes them to the current or specified directory, and l lists the current clipboard contents.The tool wraps the standard cp and mv commands, providing a simple and intuitive workflow for moving files around without needing to type full source and destination paths.

PARAMETERS

x

Cut files (uses mv).
c
Copy files (uses cp).
v
Paste files to current directory.
l
List files in clipboard.

INSTALL

brew install xcv
copy

CAVEATS

Files stored in ~/.xcv. Bash required. Install via npm.

HISTORY

xcv was created as a simple bash tool to provide cut, copy, and paste functionality for files in the terminal.

SEE ALSO

cp(1), mv(1), xclip(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid