#!/bin/bash
for i in /BACKUP/kpchiao9600k/20200225_Ubuntu_18.04.4_LTS/*; do
xzcat $i | 7z a -mx=9 -mmt=4 -p-si "$(basename "$i" .tar.xz)_pwd_bsun.tar.7z"
done
#
# Decompress with the following command followed by the password.
# 7z x -so boot_efi_2020_02_25_pwd_bsun.tar.7z | tar tvf -
# Just key in the password, no prompt will be shown.
沒有留言:
張貼留言