diff --git a/plugins/gz-packer.sh b/plugins/gz-packer.sh index d359f3f..72e7be1 100755 --- a/plugins/gz-packer.sh +++ b/plugins/gz-packer.sh @@ -4,7 +4,7 @@ target=$1 tar \ --exclude={/data,/apex,/vendor,/system,/sdcard} \ - --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/mnt/*,/media/*,/lost+found/*} \ + --exclude={/dev,/proc,/sys,/tmp/*,/mnt/*,/media/*,/lost+found/*} \ --exclude="*.l2s.*" \ --exclude=/${0} \ --exclude="/${target}.tar.gz" \ diff --git a/plugins/j-packer.sh b/plugins/j-packer.sh index 31f0406..452c225 100755 --- a/plugins/j-packer.sh +++ b/plugins/j-packer.sh @@ -4,7 +4,7 @@ target=$1 tar \ --exclude={/data,/apex,/vendor,/system,/sdcard} \ - --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/mnt/*,/media/*,/lost+found/*} \ + --exclude={/dev,/proc,/sys,/tmp/*,/mnt/*,/media/*,/lost+found/*} \ --exclude="*.l2s.*" \ --exclude=/${0} \ --exclude="/${target}.tar.xz" \ diff --git a/plugins/lz-packer.sh b/plugins/lz-packer.sh index 0b9deb6..5603e38 100755 --- a/plugins/lz-packer.sh +++ b/plugins/lz-packer.sh @@ -4,7 +4,7 @@ target=$1 tar \ --exclude={/data,/apex,/vendor,/system,/sdcard} \ - --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/mnt/*,/media/*,/lost+found/*} \ + --exclude={/dev,/proc,/sys,/tmp/*,/mnt/*,/media/*,/lost+found/*} \ --exclude="*.l2s.*" \ --exclude=/${0} \ --exclude="/${target}.tar.lz" \ diff --git a/plugins/zst-packer.sh b/plugins/zst-packer.sh index 804e591..1e23ba0 100755 --- a/plugins/zst-packer.sh +++ b/plugins/zst-packer.sh @@ -4,7 +4,7 @@ target=$1 tar \ --exclude={/data,/apex,/vendor,/system,/sdcard} \ - --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/mnt/*,/media/*,/lost+found/*} \ + --exclude={/dev,/proc,/sys,/tmp/*,/mnt/*,/media/*,/lost+found/*} \ --exclude="*.l2s.*" \ --exclude=/${0} \ --exclude="/${target}.zst" \ @@ -13,4 +13,4 @@ tar \ -cpf \ - / -P \ | pv -s $(($(du -skx / | awk '{print $1}') * 1024)) |\ - zstd > /"${target}".zst + zstd > /"${target}".tar.zst