this is what we have by default, but you cannot call p7zip a GUI, there s nothing GUI about it:
Code: Select all
guest@porteus:/$ p7zip -h
Usage: /usr/bin/p7zip [-d] [-h|--help] [--] [ name ... ]
-h print this help
-d decompress file
-- treats all subsequent arguments as file names, even if they start with a dash
and we also have a zip command by default without additional module:
Code: Select all
guest@porteus:/$ zip
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
Zip 3.0 (July 5th 2008). Usage:
zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]
The default action is to add or replace zipfile entries from list, which
can include the special name - to compress standard input.
If zipfile and list are omitted, zip compresses stdin to stdout.
-f freshen: only changed files -u update: only changed or new files
-d delete entries in zipfile -m move into zipfile (delete OS files)
-r recurse into directories -j junk (don't record) directory names
-0 store only -l convert LF to CR LF (-ll CR LF to LF)
-1 compress faster -9 compress better
-q quiet operation -v verbose operation/print version info
-c add one-line comments -z add zipfile comment
-@ read names from stdin -o make zipfile as old as latest entry
-x exclude the following names -i include only the following names
-F fix zipfile (-FF try harder) -D do not add directory entries
-A adjust self-extracting exe -J junk zipfile prefix (unzipsfx)
-T test zipfile integrity -X eXclude eXtra file attributes
-y store symbolic links as the link instead of the referenced file
-e encrypt -n don't compress these suffixes
-h2 show more help
You sure the two commands you quoted are not the same that I quoted? and not the ones from any additional modules?
Added in 4 minutes 13 seconds:
The real GUI thingy we have in XFCE (4.16 module) is engrampa that also works from the console:
Code: Select all
guest@porteus:/$ engrampa --help
Usage:
engrampa [OPTION…] - Create and modify an archive
Help Options:
-?, --help Show help options
--help-all Show all help options
--help-gtk Show GTK+ Options
--help-sm-client Show session management options
Application Options:
-a, --add-to=ARCHIVE Add files to the specified archive and quit the program
-d, --add Add files asking the name of the archive and quit the program
-e, --extract-to=FOLDER Extract archives to the specified folder and quit the program
-f, --extract Extract archives asking the destination folder and quit the program
-h, --extract-here Extract the contents of the archives in the archive folder and quit the program
--default-dir=FOLDER Default folder to use for the '--add' and '--extract' commands
--force Create destination folder without asking confirmation
--version Show the application's version
--display=DISPLAY X display to use
guest@porteus:/$ engrampa --version
Engrampa Archive Manager 1.26.0
Its GUI
About window also says this
Code: Select all
Engrampa is an archive manager for the MATE Desktop
Added in 21 minutes 54 seconds:
using modified one-liner from my lsxzmgrep V2020-12-19 script to search though the 003- modules (as in updates/core/20220924/ ) , it seems
003-xfce-4.16.xzm (I renamed the module due to the existence of a 003-xfce V 4.12 module) and
003-openbox.xzm and
003-mate.xzm all use engrampa :
Code: Select all
guest@porteus:/tmp/003-tests$ md5sum *xzm
c1e05cf09bb362b1d38e940abcac96a5 003-cinnamon.xzm
9940a53029f15a1540576d79922ffc05 003-gnome.xzm
a3964b623164877489fdf6d31fcd80e7 003-kde5.xzm
b6605dd33347cb5c3b0fcec1be15fc6e 003-lxde.xzm
6926f700db97962b4c1ab18dfe84c4e7 003-lxqt.xzm
29d3e367bc92a5cc06235294ac2baa97 003-mate.xzm
185b65fe34bf1f55ea3ffaaa323235c4 003-openbox.xzm
4f61156879b273749c3af1d2b245c41b 003-xfce-4.16.xzm
guest@porteus:/tmp/003-tests$ for module in $(find "." -type f,l -name "*.xzm"); do lsxzm ${module} | grep -l engrampa | sed -r "s#.+#>${module}\n&#" ; done
>./003-mate.xzm
(standard input)
>./003-lxde.xzm
(standard input)
>./003-xfce-4.16.xzm
(standard input)
meaning, in reverse, 003-cinnamon.xzm , 003-gnome.xzm , 003-kde5.xzm , 003-lxqt.xzm and 003-openbox.xzm use a different GUI for handling archives than engrampa (or have no GUI at all?)
Added in 15 minutes 17 seconds:
Due to looking in all the above
(in the "Added in 21 minutes 54 seconds:" part of this post but not quoted in that part per se) I found /usr/libexec/engrampa/isoinfo.sh being part of the 003-xfce-4.16.xzm module - but in itself it's not made executable:
Code: Select all
root@porteus:~# file /usr/libexec/engrampa/isoinfo.sh
/usr/libexec/engrampa/isoinfo.sh: ASCII text
root@porteus:~# ls -o /usr/libexec/engrampa/isoinfo.sh
-rw-r--r-- 1 root 565 2021-08-07 16:22 /usr/libexec/engrampa/isoinfo.sh
Here the [
code
] for the ones curious about isoinfo.sh
Code: Select all
filename=$2
JOLIET=true
ROCK_RIDGE=true
ISOINFO=`isoinfo -d -i "$filename"`
if echo $ISOINFO | grep "NO Joliet present" >/dev/null 2>&1; then
JOLIET=false
fi
if echo $ISOINFO | grep "NO Rock Ridge present" >/dev/null 2>&1; then
ROCK_RIDGE=false
fi
iso_extensions=""
if test $ROCK_RIDGE = true; then
iso_extensions="-R"
elif test $JOLIET = true; then
iso_extensions="-J"
fi
if test "x$3" = x-x; then
file_to_extract=$4
outfile=$5
isoinfo $iso_extensions -i "$filename" -x "$file_to_extract" > "$outfile"
else
isoinfo $iso_extensions -i "$filename" -l
fi