tar打包命令,过滤某类文件命令
tar -czvf nb.tar.gz --exclude *.txt --exclude *.html --exclude *.htm --exclude *.xml --exclude *.JPG --exclude *.jpg --exclude *.tar.gzs --exclude *.png --exclude *.log --exclude *.gif --exclude *.jpeg --exclude *.zip --exclude *.tar.gz --exclude *.mp3 --exclude *.mp4 --exclude *.sql.tgz --exclude *.tar.bz2 --exclude *.bak --exclude *.bmp --exclude *.MP3 --exclude *.rar --exclude *.swf --exclude *.lrc --exclude *.gz --exclude *.sql.gz --exclude *.sql --exclude *.conf nb/