I need to know how to copy hidden files recursively?
cp -r sourceDir/* targetDir/.
ignores the hidden files.
Thank you!!
I need to know how to copy hidden files recursively?
cp -r sourceDir/* targetDir/.
ignores the hidden files.
Thank you!!
Take the wildcard off.
This worked for me (Solaris 2.6)
cp -r sourceDir/ targetDir/
Thank you!
It worked!!