No, the command to copy all
and overwrite existing files in the destination directory is just cp -r with the appropriate source and destination specifiers.
By the way, if you need to copy the contents of a directory, not the directory itself, you will need to correctly specify the source, or it may copy the source directory into the destination directory (creating the copies as a subdirectory). One method to avoid this mistake is to cd into the backup directory and then cp the contents, for example:
Code:
cd /my_backups/backup_directory
cp -r * /home/thm/destination_directory
Alternatively you could cp the directory and append /* when specifying the source:
Code:
cp -r /my_backups/backup_directory/* /home/thm/destination_directory