tar解包的时候如何exclude一些目录
Howto exclude file/directory when untar a archive
Add --exclude <pattern> at the END of the command line.
E.g:
tar jxvf <tar file path> --exclude "src/linux"
This makes all file/directory which their path includes "src/linux" will not be untared.
Add --exclude <pattern> at the END of the command line.
E.g:
tar jxvf <tar file path> --exclude "src/linux"
This makes all file/directory which their path includes "src/linux" will not be untared.

浙公网安备 33010602011771号