Mailinglist Archive: opensuse (1445 mails)

< Previous Next >
Re: [opensuse] Re: how to change users home directory
Anton Aylward wrote:
You did do something wrong, according to what you told us.
You use 'cp -a' to copy the files.
That doesn't copy recursively, not does it copy the "dot" files.
I advised that you used 'rsync'

Err, yes it does. cp -a == cp --archive. It is specifically designed to
copy recursively, and it does copy dot files. It also actually
outperforms rsync in some circumstances. And there's a -u option you can
add as well. 'cp' gets far more bad press than it deserves.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups