I have a directory structure that looks like this:
/a/f.xml
/b/f.xml
/c/f.xml
/d/f.xml
What I want to do is copy all the xml files into one directory like this:
/e/f_0.xml
/e/f_1.xml
/e/f_2.xml
/e/f_3.xml
How can I do that efficiently on the Linux shell?