Copy files and folders. Copy a file to another location:…
Copy files and folders.
cp {{path/to/file.ext}} {{path/to/copy.ext}}
cp {{path/to/file.ext}} {{path/to/target/parent/folder}}
cp -r {{path/to/folder}} {{path/to/copy}}
cp -r {{path/to/folder}} {{path/to/target/parent/folder}}
cp -vr {{path/to/folder}} {{path/to/copy}}
cp -r {{path/to/source/folder/*}} {{path/to/target/folder}}
cp -i {{*.txt}} {{path/to/source/}}