$ vim +"bufdo norm gg=G" +wa +qa FILES
The equivalent of opening each file in vim and doing
gg=G:wq . Bufdo makes it faster by obviating the need to start vim for each file separately.
Diff your entire server config at ScriptRock.com
$ vim +"bufdo norm gg=G" +wa +qa FILES
The equivalent of opening each file in vim and doing
gg=G:wq . Bufdo makes it faster by obviating the need to start vim for each file separately.
Diff your entire server config at ScriptRock.com