I am using a command
find ../../ -type f -name <filename>.PDF -print0 | xargs -0 cp --target-dirctory=<path>;
the problem is it doesn't copy all files but only one file. I want to find a file
abc.pdf which is present on different folders. I need the latest updated file from all these folders. How can I find it and copy to the target folder?