I have a list of files from different directories that I would like to copy into one new directory. The catch is, all the files have the same name (e.g., /home/pat/foo.txt, /home/ned/foo.txt). I'd like to rename them with part of the filepath of the directory I'm copying them (e.g., pat_foo.txt, ned_foo.txt). Does anyone have any suggestions? I would really appreciate it!