<div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div></div></div></div></div><div class="gmail_default" style="font-family:arial,sans-serif">Speaking from experience, it's always a mad rush to press ctrl-c when you run that in the wrong directory or with the wrong parameters ðŸ™ƒ</div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 19, 2019 at 12:00 AM Brian Cluff <<a href="mailto:brian@snaptek.com">brian@snaptek.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This is pretty rough but it might do what you want it to do, but it <br>
could be a lot better:<br>
<br>
for I in *.{html,pdf,odt,doc,docx}; do kde-open5 $I; done<br>
<br>
Just add whatever document types to the part in the {}s and it will open <br>
all the documents in the current directory.<br>
<br>
There's no limit to the number of document so be careful that your <br>
directory doesn't contain more than a few documents.<br>
<br>
Brian Cluff<br>
<br>
On 11/18/19 5:10 PM, Joe Lowder wrote:<br>
> Is there a way to scroll or scan through and view all<br>
> documents in a directory in a manner similar to the way<br>
> that I can scroll or scan through and view jpg images?<br>
><br>
> Long ago, I found a shell script (see below) named "v"<br>
> that allows me to do this from the command line.<br>
> I go into any directory (folder) and type: v *jpg <E><br>
> to scan through all .jpgs in that directory.<br>
><br>
> Is there a way to do something similar to scroll or scan<br>
> through a directory and view the contents of documents<br>
> such as libre office .odt files?<br>
><br>
> Here's the "v" script:<br>
><br>
> # v open named image<br>
><br>
> cls;ls -ltr | tail -10;echo<br>
><br>
> if [ $# -gt 0 ]; then FILE=$1; else echo "Open what file? "<br>
> read file; FILE=$file; fi<br>
><br>
> nohup gwenview $FILE >/dev/null 2>&1 &<br>
><br>
> exit<br>
><br>
><br>
> ---------------------------------------------------<br>
> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
> To subscribe, unsubscribe, or to change your mail settings:<br>
> <a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
<br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></blockquote></div>