mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Ticket #2703: Simplify mc.menu - remove LZMA|LZ and change p7 to 7z
* LZMA is now considered unsupported and outdated, let's get rid of it. * There's no p7 archiver format, let's change it to "7z". Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
66868141a5
commit
b6f3e56f9f
22
misc/mc.menu
22
misc/mc.menu
@ -45,7 +45,7 @@ shell_patterns=0
|
||||
tar cf - "$Pwd" | bzip2 -f > "$tar.tar.bz2" && \
|
||||
echo "../$tar.tar.bz2 created."
|
||||
|
||||
5 Compress the current subdirectory (tar.p7)
|
||||
5 Compress the current subdirectory (tar.7z)
|
||||
Pwd=`basename %d /`
|
||||
echo -n "Name of the compressed file (without extension) [$Pwd]: "
|
||||
read tar
|
||||
@ -54,25 +54,7 @@ shell_patterns=0
|
||||
tar cf - "$Pwd" | 7za a -si "$tar.tar.7z" && \
|
||||
echo "../$tar.tar.7z created."
|
||||
|
||||
6 Compress the current subdirectory (tar.lzma)
|
||||
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" | lzma -f > "$tar.tar.lzma" && \
|
||||
echo "../$tar.tar.lzma created."
|
||||
|
||||
7 Compress the current subdirectory (tar.lz)
|
||||
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" | lzip -f > "$tar.tar.lz" && \
|
||||
echo "../$tar.tar.lz created."
|
||||
|
||||
8 Compress the current subdirectory (tar.xz)
|
||||
6 Compress the current subdirectory (tar.xz)
|
||||
Pwd=`basename %d /`
|
||||
echo -n "Name of the compressed file (without extension) [$Pwd]: "
|
||||
read tar
|
||||
|
Loading…
Reference in New Issue
Block a user