Skip to content

Instantly share code, notes, and snippets.

@poomon
poomon / repack
Created June 19, 2011 08:21
convert an archive to another (simply unpack and pack again)
#!/bin/sh
#
# This script is in public domain.
die() { echo $*; exit 1; }
archive() {
local action="$1"
local archive="$2"
local dir="$3"