← 返回命令列表

Linux command

xcv 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Cut files

xcv x [file1] [file2]

Copy files

xcv c [file1] [file2]

Paste files

xcv v

List clipboard

xcv l

Paste to directory

xcv v [directory/]

说明

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.

参数

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

FAQ

What is the xcv command used for?

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.

How do I run a basic xcv example?

Run `xcv x [file1] [file2]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does x do in xcv?

Cut files (uses mv).