Page 2 of 3

Re: Quick Submissions: Found a new CLI tool but no time for a thread? Post it here!

Posted: Thu Oct 08, 2020 6:14 am
by juverax
ToFroDos (two utilities: ToDos and FroDos)
https://www.softpedia.com/get/System/Fi ... odos.shtml

Command-line utility that converts text files between the DOS and UNIX text format.
A great tool: just drag&drop your text file on the executable.
Note that ToDos overwrites the original file.

Re: Quick Submissions: Found a new CLI tool but no time for a thread? Post it here!

Posted: Wed Oct 14, 2020 10:32 am
by juverax
BitmapRip Bitmap Ripper by Marco Pontello

From the web page: https://mark0.net/soft-bitmaprip-e.html:
Simple tool to extract embedded bitmaps (JPEG, PNG, GIF) files from a given file. It search for bitmap's headers / signatures, and create a new file for every data block that seems to be a valid image. Could also be used to recover deleted/lost photos or images.
VirusTotal = 1-70 (Likely a false positive)

Fast and useful especially to extract images from a pdf file

Re: Quick Submissions: Found a new CLI tool but no time for a thread? Post it here!

Posted: Thu Oct 22, 2020 3:13 pm
by billon
https://www.pazera-software.com/tools/

Some open-source command-line tools from Jacek Pazera.

Re: Quick Submissions: Found a new CLI tool but no time for a thread? Post it here!

Posted: Thu Oct 22, 2020 3:30 pm
by billon
https://www.brainwavecc.com/brainwave-utilities/

BrainWave command-line utilities, especially FileHash supporting Blake3.

Re: Quick Submissions: Found a new CLI tool but no time for a thread? Post it here!

Posted: Thu Oct 22, 2020 5:21 pm
by vevy
Nice sources, thanks!

Re: Quick Submissions: Found a new CLI tool but no time for a thread? Post it here!

Posted: Fri Oct 23, 2020 3:58 am
by Midas
I quickly tried BrainWave's RandomPass and Filehash, only to repeatedly get the following error:

Code: Select all

An unhandled exception occurred at $000000010003304F:
EConvertError: "2020/07/20" is not a valid date format

I don't even know where that format came from, as my system's defaults are different...

Image


Sloppy ethnocentric programming rears its ugly head yet again, if you ask me... it's 2020, for chrissakes. :disappointed:

Re: Quick Submissions: Found a new CLI tool but no time for a thread? Post it here!

Posted: Wed Oct 28, 2020 3:41 pm
by juverax
jpeg2pdf : https://sourceforge.net/projects/jpeg2pdf/

From Sourceforge:
Cross-platform command-line tool for creation of PDF documents from scans/photos of pages in JPEG (.jpg) format and the lightest weight ANSI C library to put multiple JPEG files into one PDF file.
You can add handwritten comments to PDF scans (over original images) with xournal: http://xournal.sourceforge.net/
It supports graphics tablets and saves comments to PDFs as vector data.
Last Update: 2020-01-17

Comment: Works well and very fast.

Usage: jpeg2pdf [options] filemask-1 ... [filemask-N]
-o output output PDF file name. required.
[-p papersize] A0-A10,Letter,Legal,Junior,Ledger,Tabloid,auto default:A4
[-n orientation] auto,portrait,landscape default:auto
[-m marginsize] margins size in inches (specify 'mm' for millimeters) default:0
[-z scale] fit,fw,fh,reduce,rw,rh,none default:fit
[-r crop] none,height,width,both default:none crop/expand page to image size
[-t title] default: none
[-a author] default: current user name
[-k keywords] default: input files list
[-s subject] default: 'Generated from JPEG images'
[-c creator] default: 'jpeg2pdf'
[-h] display this help
filemask-... input JPEG file name. requires at least one. wildcards '*' and '?' allowed.

There is also a description of jpeg2pdf at: https://www.ilovefreesoftware.com/03/wi ... g2pdf.html

Re: Quick Submissions: Found a new CLI tool but no time for a thread? Post it here!

Posted: Thu Oct 29, 2020 7:43 am
by TP109
Nice tool that can be useful in a script. For those that prefer a GUI solution, Irfanview also easily converts images to pdf using save as ...

Re: Quick Submissions: Found a new CLI tool but no time for a thread? Post it here!

Posted: Thu Oct 29, 2020 8:05 am
by vevy
TP109 wrote: Thu Oct 29, 2020 7:43 am For those that prefer a GUI solution, Irfanview also easily converts images to pdf using save as ...
And through the command line ;)

Code: Select all

i_view32.exe input.jpg /convert=output.pdf

Re: Quick Submissions: Found a new CLI tool but no time for a thread? Post it here!

Posted: Thu Oct 29, 2020 2:40 pm
by juverax
@TP109, @vevy

IrfanView has a forum, some threads discuss batch processing.

IrfanView Forum: https://irfanview-forum.de
Scripts: https://irfanview-forum.de/forumdisplay ... 8742cb065c
Command-Line Options: https://irfanview-forum.de/forumdisplay ... 742cb065c

Note that some scripts work / may not work depending of the IrfanView version.

For batch processing I have (successfully) used sofar: IrfanView_v.4.20

Earlier this year in this post, I mentioned a script for tiling files with IrfanView:
viewtopic.php?f=4&t=16386&start=30#p98084

Re: Quick Submissions: Found a new CLI tool but no time for a thread? Post it here!

Posted: Thu Oct 29, 2020 3:19 pm
by vevy
Thanks for the info. IrfanView CLI might deserve its own thread at some point.

Re: Quick Submissions: Found a new CLI tool but no time for a thread? Post it here!

Posted: Thu Oct 29, 2020 4:01 pm
by juverax
@vevy
Thanks for the info. IrfanView CLI might deserve its own thread at some point.
I think so!

DocTo - Simple command line utility for converting .doc & .xls files to any supported format such as Text, RTF, CSV or P

Posted: Sun Nov 01, 2020 12:27 am
by lintalist
DocTo - Simple command line utility for converting .doc & .xls files to any supported format such as Text, RTF, CSV or PDF
  • Simple utility for converting a Microsoft Word Document '.doc' and Microsoft Excel '.xls' files to any other supported format such as .txt .csv .rtf .pdf.
  • Can also be used to convert .txt, .rtf, .csv to .doc, .xls or .pdf format.
  • Can be used to convert older word documents to latest format.
  • Must have Microsoft Word or Excel installed on host machine.
  • Download Release From Github Releases - https://github.com/tobya/DocTo/releases/ Further Information available at https://tobya.github.io/DocTo/ Further Examples available at https://docto.toflidium.com
Features
  • Convert Doc/RTF/Text file to any Word SaveAs Type Doc/Text/RTF/PDF
  • Convert XLS/XLSX/CSV file to any Excel SaveAs Type CSV/Text/PDF
  • Convert Text/CSV file to full fledged Word or Excel format.
  • Single File Conversion
  • Multiple / Directory File Conversion.
  • Delete after conversion
  • Fire https Webhook on each conversion.

Re: DocTo - Simple command line utility for converting .doc & .xls files to any supported format such as Text, RTF, CSV

Posted: Sun Nov 01, 2020 8:33 am
by webfork
lintalist wrote: Sun Nov 01, 2020 12:27 am DocTo - Simple command line utility for converting .doc & .xls files to any supported format such as Text, RTF, CSV or PDF
Great to see ... LibreOffice has some CLI operations, but the batch function (make all ABC into DEF format) is a little fuzzy. Very interested to see how this handles it.

Re: DocTo - Simple command line utility for converting .doc & .xls files to any supported format such as Text, RTF, CSV

Posted: Sun Nov 01, 2020 11:58 am
by billon
lintalist wrote: Sun Nov 01, 2020 12:27 am
  • Must have Microsoft Word or Excel installed on host machine.
:roll: