You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for taking this under your wing!! I have some scripts on my computer to start msgviewer back from the time, when msgviewer was only available on sourceforge. You might be interested in them. I cannot remember where I got them from (they are definitely not mine ;-) )
Here we go: cat /usr/local/share/MSGViewer/msgviewer:
#!/usr/bin/env bash
SOURCE="${BASH_SOURCE[0]}"while [ -h"$SOURCE" ];do# resolve $SOURCE until the file is no longer a symlink
DIR="$(cd -P "$( dirname "$SOURCE")"&&pwd)"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE!= /* ]] && SOURCE="$DIR/$SOURCE"# if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was locateddone
DIR="$(cd -P "$( dirname "$SOURCE")"&&pwd)"exec java -jar ${DIR}/msgviewer.jar "$@"
cat /usr/local/share/MSGViewer/msg2eml:
#!/usr/bin/env bash
SOURCE="${BASH_SOURCE[0]}"while [ -h"$SOURCE" ];do# resolve $SOURCE until the file is no longer a symlink
DIR="$(cd -P "$( dirname "$SOURCE")"&&pwd)"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE!= /* ]] && SOURCE="$DIR/$SOURCE"# if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was locateddone
DIR="$(cd -P "$( dirname "$SOURCE")"&&pwd)"exec java -jar ${DIR}/msgviewer.jar -msg2eml "$@"
cat /usr/local/share/MSGViewer/msg2mbox:
#!/usr/bin/env bash
SOURCE="${BASH_SOURCE[0]}"while [ -h"$SOURCE" ];do# resolve $SOURCE until the file is no longer a symlink
DIR="$(cd -P "$( dirname "$SOURCE")"&&pwd)"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE!= /* ]] && SOURCE="$DIR/$SOURCE"# if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was locateddone
DIR="$(cd -P "$( dirname "$SOURCE")"&&pwd)"exec java -jar ${DIR}/msgviewer.jar -msg2mbox "$@"
Now I can call any of the three commands msgviewer, msg2eml and msg2mbox! Very hand indeed. (Mind you, I only have tested the msgviewer skript with your new github versions …)
BTW I also have a msgviewer.desktop file, to get the viewer into the application menu. cat /usr/local/share/applications/msgviewer.desktop:
Bash scripts & .desktop files are system-dependant whereas MsgViewer is intended to run on any system. However we could provide some installers for some systems as release assets.
Yes, they are system dependent! That's why this is just a basic suggestion for a Linux system and an idea to get started. I am sure that there are many improvements, e.g. opening a message in msgviewer from a file manager …
This is not an issue as such…
Thank you for taking this under your wing!! I have some scripts on my computer to start
msgviewer
back from the time, whenmsgviewer
was only available on sourceforge. You might be interested in them. I cannot remember where I got them from (they are definitely not mine ;-) )Here we go:
cat /usr/local/share/MSGViewer/msgviewer
:cat /usr/local/share/MSGViewer/msg2eml
:cat /usr/local/share/MSGViewer/msg2mbox
:My directory layout on Linux is:
Now I can call any of the three commands
msgviewer
,msg2eml
andmsg2mbox
! Very hand indeed. (Mind you, I only have tested themsgviewer
skript with your new github versions …)BTW I also have a
msgviewer.desktop file
, to get the viewer into the application menu.cat /usr/local/share/applications/msgviewer.desktop
:Perhaps this can help persons like #1 to install that beast!
Please feel free to include it, wherever you think it is appropriate.
The text was updated successfully, but these errors were encountered: