Skip to content

Instantly share code, notes, and snippets.

@mujahidk
Created September 12, 2018 21:35
Show Gist options
  • Save mujahidk/9bfaf1f8f7aa77cf02ec7330a9ddfe3b to your computer and use it in GitHub Desktop.
Save mujahidk/9bfaf1f8f7aa77cf02ec7330a9ddfe3b to your computer and use it in GitHub Desktop.
Recursively copy specific files to a mirror directory structure.
find . -name 'application.properties' -exec cp {} ~/new/mirror/directory/{} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment