echo -n "Name of the distribution file (without extension) [$Pwd]: "
read zip
if [ "$zip"x = x ]; then zip="$Pwd"; fi
- cd .. && zip -r9 "$zip".zip "$Pwd" &&
+ cd .. && zip -ry9 "$zip".zip "$Pwd" &&
echo ../"$zip".zip created.
+ t d & f ^\.\.$
+ ! f \.(z|Z|bz2|gz|lz|lzma)|(tbz2|tgz|tz|zip|ZIP|rar|RAR|xz|7z)$ & t lr
z zip the file/directory
- exec zip -r9 %f.zip %f
+ exec zip -ry9 %f.zip %f
+ ! f \.(z|Z|bz2|gz|lz|lzma)|(tbz2|tgz|tz|zip|ZIP|rar|RAR|xz|7z)$ & t lr
y zip the file/directory recoding filename(s)
+ t t
Z zip selected files/directories
ZIP=%{Enter zip name}
- exec zip -r9 "$ZIP" %s
+ exec zip -ry9 "$ZIP" %s
+ t t
Y zip selected files/directories recoding filenames