Created
May 6, 2016 22:37
-
-
Save mrajo/b2e9e1cc4da9314222e8414ecee28057 to your computer and use it in GitHub Desktop.
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
# change ext to source file extension | |
# change -t argument to expand to number of spaces | |
find . -name '*.ext' ! -type d -exec bash -c 'unexpand --first-only -t 4 "$0" >/tmp/ex && mv /tmp/ex "$0"' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment