replace and extend linux tree command