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

Submit command line tools that you find here.
Message
Author
User avatar
juverax
Posts: 355
Joined: Mon Jun 11, 2018 5:19 am

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

#16 Post 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.

User avatar
juverax
Posts: 355
Joined: Mon Jun 11, 2018 5:19 am

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

#17 Post 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

billon
Posts: 843
Joined: Sat Jun 23, 2012 4:28 pm

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

#18 Post by billon »

https://www.pazera-software.com/tools/

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

billon
Posts: 843
Joined: Sat Jun 23, 2012 4:28 pm

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

#19 Post by billon »

https://www.brainwavecc.com/brainwave-utilities/

BrainWave command-line utilities, especially FileHash supporting Blake3.

User avatar
vevy
Posts: 795
Joined: Tue Sep 10, 2019 11:17 am

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

#20 Post by vevy »

Nice sources, thanks!

User avatar
Midas
Posts: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

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

#21 Post 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:

User avatar
juverax
Posts: 355
Joined: Mon Jun 11, 2018 5:19 am

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

#22 Post 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

TP109
Posts: 571
Joined: Sat Apr 08, 2006 7:12 pm
Location: Midwestern US

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

#23 Post 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 ...

User avatar
vevy
Posts: 795
Joined: Tue Sep 10, 2019 11:17 am

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

#24 Post 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

User avatar
juverax
Posts: 355
Joined: Mon Jun 11, 2018 5:19 am

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

#25 Post 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

User avatar
vevy
Posts: 795
Joined: Tue Sep 10, 2019 11:17 am

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

#26 Post by vevy »

Thanks for the info. IrfanView CLI might deserve its own thread at some point.

User avatar
juverax
Posts: 355
Joined: Mon Jun 11, 2018 5:19 am

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

#27 Post by juverax »

@vevy
Thanks for the info. IrfanView CLI might deserve its own thread at some point.
I think so!

User avatar
lintalist
Posts: 434
Joined: Sat Apr 19, 2014 12:52 am
Contact:

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

#28 Post 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.

User avatar
webfork
Posts: 10818
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

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

#29 Post 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.

billon
Posts: 843
Joined: Sat Jun 23, 2012 4:28 pm

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

#30 Post by billon »

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

Post Reply