On Tue,29.Dec.09, 00:25:06, Osamu Aoki wrote: > On Mon, Dec 28, 2009 at 04:17:01PM +0200, Andrei Popescu wrote: > > On Mon,28.Dec.09, 06:27:32, Glenn English wrote: > > > > > I still don't understand how 'source/.' would work, though. > > Yah ... it will create destination/source/* At least on my machine it doesn't. 'cp -a source/ destination/' will however, regardless of the appended '/' (unlike rsync)
> If you missed my post, ... here is the better way. > > $ cd /path/to/source ; cp -a ./ destination/ > > This does trick since adding ./ after destination/ is still destination/ :-) Why is this better than 'cd /path/to/source ; cp -a . destination' ? Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
signature.asc
Description: Digital signature