DEV Community

Discussion on: scp command in Linux πŸ’»

Collapse
 
wclayferguson profile image
Clay Ferguson

For anyone who wants to know how to create an exact copy of the source at the destination here's the magic parameters:

rsync -aAX --delete --force --progress --stats /my/src/dir/ /my/dest/dir/
Collapse
 
apoorvtyagi profile image
Apoorv Tyagi

This is awesome. Thanks for sharing thisπŸ‘