mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
529 B
Plaintext
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}}`
|