diff options
Diffstat (limited to 'scripts/tar-pfx.sh')
| -rw-r--r-- | scripts/tar-pfx.sh | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/scripts/tar-pfx.sh b/scripts/tar-pfx.sh index b395764..2b5a215 100644 --- a/scripts/tar-pfx.sh +++ b/scripts/tar-pfx.sh @@ -1,10 +1,18 @@ #!/bin/sh . ./.vars -bsdtar \ - --numeric-owner \ - --owner=root \ - --group=root \ - -C pfx \ - -cvf - . \ - | xz -9 -T0 -vc > pfx.txz +SZE=$(du -sm $prefix |awk '{print $1}') + + # | cpio -R root:root -do - \ +find $prefix \ + | cpio -v -R root:root -oH newc \ + | pv -s ${SZE}M \ + | xz -T0 -9 -c > pfx.txz + +# bsdtar \ +# --numeric-owner \ +# --owner=root \ +# --group=root \ +# -C pfx \ +# -cvf - . \ +# | xz -9 -T0 -vc > pfx.txz |
