Last Updated: March 02, 2016
·
620
· lucianosousa

Removing trailing whitespace of all files recursively

find . -not \( -name .svn -prune -o -name .git -prune \) -type f -print0 | xargs -0 sed -i '' -E "s/[[:space:]]*$//"