Skip to content

Instantly share code, notes, and snippets.

@PauloLuan
Last active June 6, 2022 13:35
Show Gist options
  • Save PauloLuan/0959ae9273b70e83bdd4b421a1cce0ec to your computer and use it in GitHub Desktop.
Save PauloLuan/0959ae9273b70e83bdd4b421a1cce0ec to your computer and use it in GitHub Desktop.
Copy all files with a certain extension from all subdirectories
mkdir tests
find . -name \*test.tsx -exec cp {} tests \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment