mc: zstd
This commit is contained in:
parent
40cbf9ec95
commit
8939f253ee
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue