Copying hidden files with Linux, I realized I should use :
cp -a /mnt/sda8/john/. /mnt/sdb2/john
instead of :
cp -a /mnt/sda8/john/ /mnt/sdb2/john
What's the point in adding a
. after the source directory ? What does it mean exactly ? To me, the second version should work as well since no globbing is involved.