bash-2.03$ find dev -name "*out" > exclude bash-2.03$ find dev -name "*log" >> exclude bash-2.03$ tar cvfX rlh.tar exclude dev