renomear todos os terminais de extensão do arquivo
for old in *.txt; do mv $old `basename $old .txt`.md; done
Wrong Whale
for old in *.txt; do mv $old `basename $old .txt`.md; done