Skip to content

Useful commands

Raffi Khatchadourian edited this page Jun 29, 2016 · 1 revision

Convert all Java files recursively in a directory to use 4 spaces instead of a tab

find . -type f -name *.java -exec bash -c 'expand -t 4 {} > /tmp/stuff;mv /tmp/stuff {}' \;
Clone this wiki locally