tar zcf foo.tgz foo/ --exclude .git
tar: ais9628_20180412_tmp-glibc/work/mdm9607-oe-linux-gnueabi/tftp-server/git-r1/pseudo/pseudo.socket: socket ignored
% mkdir /work/bkup/jane % cd /home/jane % tar cf - . | (cd /work/bkup/jane && tar xBf -)
沒有留言:
張貼留言