I have 400 folders (/123_0/, /123_1/, ...) and inside each one I have a file with extension *.root and different names. I just want to copy these files to a destination /destination/. How can I do it?
Asked
Active
Viewed 110 times
1 Answers
0
If all those 400 folders are in the same location, here is how you can do it:
cp **/*.root destination/
Ashim
- 105