Skip to content

Instantly share code, notes, and snippets.

@eresende
Created December 11, 2015 10:42
Show Gist options
  • Save eresende/32644b3845d7224758c2 to your computer and use it in GitHub Desktop.
Save eresende/32644b3845d7224758c2 to your computer and use it in GitHub Desktop.
Copy files by extension and maintain structure
find . -name '*.csv' -exec cp --parents \{} /target \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment