I am trying to copy all files under directory A to directory B. All files under directory A are starting with dot, for example:
A/.a
A/.b
A/.c
which I found if I use: cp A/* B
, always get error:
cp: cannot stat 'A/*': no such file or directory
It seems there is no option for cp
as ls
to handle entries started with dot, anyone has idea how to fix it?