/.mc/menu
public text v1 · immutable7 Compress the current subdirectory (tar.xz) Pwd=`basename %d /` echo -n "Name of the compressed file (without extension) [$Pwd]: " read tar if [ "$tar"x = x ]; then tar="$Pwd"; fi cd .. && \ tar cf - "$Pwd" | xz -f > "$tar.tar.xz" && \ echo "../$tar.tar.xz created."