"gri grigri" <[EMAIL PROTECTED]> wrote: > I have no bug, but an missing feature: > cp -p ... ... > like > mkdir -p ... > for the case, that I want to copy a file in a yet not existing directory.
cp's --parents might do what you want:
$ mkdir -p a/b/c x
$ cp -r --parents a/b/c x
$ find x
x
x/a
x/a/b
x/a/b/c
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils
