Linux copy all hidden files directories keep permissions

By | May 27, 2013

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

-r = recursive

-p = preserve

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


Related Articles:

Leave a Reply

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