cp: can't create link 'b/a': No such file or directory

Harald Becker ralda at gmx.de
Mon Mar 17 09:35:55 UTC 2014


Hi Timo !

>$ cp -af a a b

Did not analyze if there is a deeper error, but your initial
approach seems to be wrong.

cp FILE FILE DIR

shall copy both source files under there original names in given
directory. So how can you have two files of same name in one
directory. This will fail both on hard linking and physical
copying.

So what is your intention to do this?

--
Harald


More information about the busybox mailing list