$ expand -t 2 <filename>
Change the number to change the number of spaces. Leaving it out defaults to 8. Leaving out the filename defaults to stdin.
And to do it in reverse, you can use the unexpand command.
Diff your entire server config at ScriptRock.com