Skip to content

Commit

Permalink
尝试使用zstd
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurora-Nasa-1 committed Dec 14, 2024
1 parent df11a5c commit e3ba118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 7zzstd_all_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ for dir in "${temp_dirs[@]}"; do
done
cp "$current_dir/7zzs" "/data/adb/"
chmod 777 "/data/adb/7zzs"
/data/adb/7zzs a -r -mx9 "$current_dir"/output.7z "$current_dir"/files/*
/data/adb/7zzs a -r -m0=zstd -mx=22 "$current_dir"/output.7z "$current_dir"/files/*
if [ $? -eq 0 ]; then
echo "Successfully created archive: $current_dir/output.7z"
else
Expand Down

0 comments on commit e3ba118

Please sign in to comment.