Created
February 17, 2022 15:56
-
-
Save glw/cb76a7d79f91087a7b359d068b0e6cfa to your computer and use it in GitHub Desktop.
find and copy all files of a particular name without directory structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ./ -name 'G0*' -type f -exec cp -t /media/sf_Z_DRIVE/fpcc-trails/trails-2021/ --force --backup=t '{}' + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment