Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
unzip ebill by convmv and 7z.
#!/bin/sh
file=$1
path=${file%%.zip}
mkdir -p $path
LANG=en_US.BIG-5 7z e -y -o"$path" "$file" 2>/dev/null
(cd "$path" && convmv -f BIG5 -t UTF-8 --notest --replace * )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment