cp
cp -Rvn folderA folder
# Skip the confirmation
yes | cp -r pathA pathB
Links
- Copy using the command line without overwriting existing files | soledad penadés
- linux - How to force cp to overwrite without confirmation - Stack Overflow
cp -Rvn folderA folder
# Skip the confirmation
yes | cp -r pathA pathB