diff --git a/dot_config/private_mc/menu b/dot_config/private_mc/menu index 53085c3..80afa2f 100644 --- a/dot_config/private_mc/menu +++ b/dot_config/private_mc/menu @@ -63,6 +63,15 @@ shell_patterns=0 tar cf - "$Pwd" | xz -f > "$tar.tar.xz" && \ echo "../$tar.tar.xz created." +7 Compress the current subdirectory (tar.zstd) + 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" | zstd -f > "$tar.tar.zstd" && \ + echo "../$tar.tar.xz created." + = f \.c$ & t r + f \.c$ & t r & ! t t c Compile and link current .c file