This is pretty rough but it might do what you want it to do, but it could be a lot better: for I in *.{html,pdf,odt,doc,docx}; do kde-open5 $I; done Just add whatever document types to the part in the {}s and it will open all the documents in the current directory. There's no limit to the number of document so be careful that your directory doesn't contain more than a few documents. Brian Cluff On 11/18/19 5:10 PM, Joe Lowder wrote: > Is there a way to scroll or scan through and view all > documents in a directory in a manner similar to the way > that I can scroll or scan through and view jpg images? > > Long ago, I found a shell script (see below) named "v" > that allows me to do this from the command line. > I go into any directory (folder) and type: v *jpg > to scan through all .jpgs in that directory. > > Is there a way to do something similar to scroll or scan > through a directory and view the contents of documents > such as libre office .odt files? > > Here's the "v" script: > > # v open named image > > cls;ls -ltr | tail -10;echo > > if [ $# -gt 0 ]; then FILE=$1; else echo "Open what file? " > read file; FILE=$file; fi > > nohup gwenview $FILE >/dev/null 2>&1 & > > exit > > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss