I have a directory containing folders and subfolders. These subfolders contain, for example, .xml files.
I’d like to copy all of the .xml files into a separate folder. My UNIX is rusty; any and all help would be greatly appreciated. Thanks, Adam
Try this command (with the needed changes of course), e.g.,:
Note that you don’t have to specify the filenames at the destination when they stay the same.
For more information see the cp man page