Files
cheatsheet-tldr/tldr/qcp
2025-03-28 00:18:38 +00:00

22 lines
529 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# qcp
> Copy files using the default text editor to define the filenames.
> More information: <https://manned.org/qcp>.
- Copy a single file (open an editor with the source filename on the left and the target filename on the right):
`qcp {{source_file}}`
- Copy multiple JPEG files:
`qcp {{*.jpg}}`
- Copy files, but swap the positions of the source and the target filenames in the editor:
`qcp {{[-o|--option]}} swap {{*.jpg}}`