I code Scala and it's convention is to use double spaces per level for identiation. But using different editors makes my sources filled with a mix of spaces and tabs.
I'd like to refactor all the files (*.scala files, actually, but specifying this is not necessary) (in a given directory and all the underlying FS branch (recursively)) automatically, replacing all the tabs with double spaces. I believe there is an easy and beautiful way to do this with classic Unix/GNU tools, but I lack any experience in this area. Would you be so kind to help me?