cp
| Function | Copy or copy-and-rename pages. cp src1 src2 … dest copies several sources under an existing destination. |
| Options | -n, --dry-run — preview copies and report conflicts without creating pages. |
| Limitations | Pages only; same space only. If some sources fail, successful copies are kept. |
With two arguments, an existing destination is the new parent. If the destination does not exist and contains no /, the source is copied as a sibling with that title.
Examples
Section titled “Examples”$ cp ./pageA ./folder$ cp OldName NewName$ cp pageA pageB ./folder$ cp --dry-run pageA pageB ./folder