Last active
August 29, 2015 14:14
-
-
Save developerdino/f2ef9f2dc4ed4d811e07 to your computer and use it in GitHub Desktop.
Convert tabs to spaces in all files
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
#!/usr/bin/env bash | |
find . -name '*.php' ! -type d -exec bash -c 'expand -t 4 "$0" |tee "$0" 2>&1 > /dev/null' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment