I have a set of files in a single directory named:
OneThing-x.extension
OneThing-y.extension
OneThing-z.extension
What UNIX command (find, cp, xargs, sed ?) do I use to COPY these into
AnotherThing-x.extension
AnotherThing-y.extension
AnotherThing-z.extension
such that x ->copy-> x, and y ->copy -> y
I have the find .. part of the command to start with,which selects the files, but I am stuck there.
EDIT Obviously, I want to keep both the original and the copy, so a rename does not quite do the trick for me.