💾 Archived View for freeshell.de › tldr › cp.gmi captured on 2023-11-04 at 12:21:12. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

cp

Copy files and directories.

More information.

cp {path/to/source_file.ext} {path/to/target_file.ext}
cp {path/to/source_file.ext} {path/to/target_parent_directory}
cp -r {path/to/source_directory} {path/to/target_directory}
cp -vr {path/to/source_directory} {path/to/target_directory}
cp -i {*.txt} {path/to/target_directory}
cp -L {link} {path/to/target_directory}
cp --parents {source/path/to/file} {path/to/target_file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY