Created
April 7, 2016 21:04
-
-
Save mrajo/9dfd4f21be0cdc383f2e3f9cd8f840a0 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 'expand -i -t 2 "$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