Copy files. Add -r when copying a directory and its contents.
cp -r ./assets ./backup/assetsLINUX COMMAND ATLAS · COMMAND GUIDE
Copy files. Add -r when copying a directory and its contents.
GNU Coreutilscp [OPTION]... SOURCE... DESTINATION
Copy files. Add -r when copying a directory and its contents.
cp -r ./assets ./backup/assetsCopy a file and ask before overwriting.
cp -i report.txt ./archive/Copy a directory tree while preserving attributes.
cp -a project/ backup/project/Use -i or -n when overwriting could lose data. GNU and BSD cp have some option differences.