Crates.io | sunzip |
lib.rs | sunzip |
version | |
source | src |
created_at | 2025-03-03 15:27:42.758873+00 |
updated_at | 2025-03-03 15:27:42.758873+00 |
description | 7Z Compact/Extract Tool |
homepage | https://github.com/gabrielfalcao/sunzip |
repository | |
max_upload_size | |
id | 1575752 |
Cargo.toml error: | TOML parse error at line 22, column 1 | 22 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Given dummy files
data*.txt
rm -f data-{2,3,4,5,6,7}.txt;
rm -f *.txt
cat >gendata.sh <<EOF
#!/bin/bash
for s in \$(seq 2 7); do
target="data-\${s}.txt"
echo -n > \$target
echo "\$(seq 10 | xargs | sed 's/[[:space:]]//g' | sed 's/[[:digit:]]/-/g')" >> \$target
echo "\$target" >> \$target
echo -e "\$(seq 10 | xargs | sed 's/[[:space:]]//g' | sed 's/[[:digit:]]/-/g')\n\n" >> \$target
seq \$((s * 7)) | sed "s,^,[\$(date +"%Y/%m/%d-%H:%M:%S")],g" >> \$target
echo "Generated dummy data in: \$target"
done
EOF
bash gendata.sh
s7zip -o archive.7z data*.txt
sunzip archive.7z
or
s7unzip archive.7z