Skip to content

Commit 5e7221b

Browse files
exclude archive file while compressing
add extesions
1 parent dab42b4 commit 5e7221b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

plugins/gz-packer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tar \
1111
--exclude="${target_source}"sys/* \
1212
--exclude="${target_source}"tmp/* \
1313
--exclude="${target_source}"${0} \
14-
--exclude="${target_source}${target}" \
14+
--exclude="${target_source}${target}.tar.gz" \
1515
--exclude-caches-all \
1616
-cpf \
1717
- "${target_source}" -P \

plugins/j-packer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tar \
1010
--exclude="${target_source}"sys/* \
1111
--exclude="${target_source}"tmp/* \
1212
--exclude="${target_source}"${0} \
13-
--exclude="${target_source}${target}" \
13+
--exclude="${target_source}${target}.tar.xz" \
1414
--exclude-caches-all \
1515
-cpf \
1616
- "${target_source}" -P \

plugins/lz-packer.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ tar \
1111
--exclude="${target_source}"sys/* \
1212
--exclude="${target_source}"tmp/* \
1313
--exclude="${target_source}"${0} \
14-
--exclude="${target_source}${target}" \
14+
--exclude="${target_source}${target}.tar.lz" \
1515
--exclude-caches-all \
1616
-cpf \
1717
- "${target_source}" -P \
1818
| pv -s $(($(du -skx "${target_source}" | awk '{print $1}') * 1024)) |\
19-
lz4 -9 > "${target}".tar.gz # use high compression
19+
lz4 -9 > "${target}".tar.lz # use high compression

0 commit comments

Comments
 (0)