I have a Unix script package that copies the contents of one directory (calls it dir A) to another (calls it dir B).
Here is the copy statement that I have.
cp -urL /path/to/dir/A /path/to/dir/B
However, this statement copies hidden files.
How can I exclude the possibility of copying all and all hidden files?
source share