cd .. && zip.py "$zip".zip "$Pwd" &&
echo ../"$zip".zip created.
++ t d & f ^\.\.$
+7 Compress the current subdirectory to 7z
+ Pwd="`basename %d /`"
+ echo -n "Name of the distribution file (without extension) [$Pwd]: "
+ read ar
+ if [ "$ar"x = x ]; then ar="$Pwd"; fi
+ cd .. && 7zr a "$ar".7z "$Pwd" &&
+ echo ../"$ar".7z created.
+
+ ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ & t r
z bzip2 the file
exec bzip2 -9 %f