but the cp cmd from the cmd line just does not want to copy most of my files in my home directory. It is almost as if it cant see them.
If I
Code: Select all
sudo su - to
Code: Select all
ls -al
same sort of behaviour with rm. rm does not seem to see most of the files in my home directory. even as root I cant just rm -R *
however if I do a
Code: Select all
find . -name '*' -exec rm -R \{\} \;
what has Mint done to prevent the proper operation of cp, rm, ls etc. even when running as root?
how does the MINT backup tool manage to get this done properly?
pgmer6809
SOLVED
Works like a charm thanks. I'm embarassed I did not think of that myself. I was thinking in terms of a regex * matching everything without taking into account that file system utilities might have some extra smarts built in.ls -a fromdir
. .. .hide1 .hide2 junk1 junk2
cp fromdir/* fromdir/.??* todir
ls -a todir
. .. .hide1 .hide2 junk1 junk2
pgmer6809