Linux copy all hidden files directories keep permissions

cp -rp /source-dir/. /destination/

-r = recursive

-p = preserve

/source-dir/. = dot means the entire directory contents, including hidden files


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *