Contact SQL files cat *.sql >> ../backup/contacted.sql find . -type f -name "*.sql" -print0 | xargs -0 cat >> ../backup/concated.sql