Last active
October 29, 2019 07:17
-
-
Save espinz/8a5d4db3db028f41f63e8df4a491d733 to your computer and use it in GitHub Desktop.
Finding an explosion of files and moving them into a new folder
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 . -type d \( -path ./directory1 -o -path ./directory2 \) -prune -o -iname "*.txt" -print -exec mv {} TXT \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment