How can I convert tabs to spaces in every file of a directory (possibly recursively)?
Also, is there a way of setting the number of spaces per tab?
No body mentioned rpl? Using rpl you can replace any string. To convert tabs to spaces,
rpl
rpl -R -e "\t" " " .
very simple.