On Thu, Feb 26, 2026 at 17:05:33 +0100, Ralf Fassel wrote: > I would suggest rsync -av, even on a locally mounted disk. > Saves huge amount of time on the second ff run. It would even create > any target directory for you, which cp will not do (this might or might > not be desirable, YMMV).
cp -a src /dest/ will definitely create /dest/src/. hobbit:~$ cd /tmp hobbit:/tmp$ mkdir src; touch src/file hobbit:/tmp$ mkdir dest hobbit:/tmp$ cp -a src ./dest/ hobbit:/tmp$ find dest dest dest/src dest/src/file I still recommend rsync, though, unless there is a very compelling reason not to use it.

