RL_Dane, (edited ) to photography
@RL_Dane@fosstodon.org avatar

Hey #AskFedi,

Wondering if any #Photography or #ImageProcessing gurus know of a #FOSS #CommandLine utility to find similar images or generate a hash from image content (and not just raw data).

I'm trying to de-duplicate some images, but realized some have been renamed AND re-compressed, so there's no easy way to find and eliminate the dupes

I've already done deduping based on sha512sum, but that doesn't help when the image has been recompressed.

Edit: @'ed where I shoulda #'d

adamsdesk, to random
@adamsdesk@fosstodon.org avatar
celfred, to vim French
@celfred@framapiaf.org avatar

Bon, après des essais de config pour Neovim via Flathub, j'ai dû casser un truc et je m'arrache les cheveux : en console, je ne peux même plus éditer un fichier avec « vim monfichier.txt» (oui, j'ai tjrs Vim), mais ça passe avec «sudo vim monfichier.txt» 😲
Je n'ai aucune idée comment rétablir tout ça et j'y ai passé 1 soirée… (no comment…).
Si quelqu'un peut me conseiller, ce serait formidable.

scy, to memes
@scy@chaos.social avatar

Thing that I wish existed: A command-line meme generator. Something that you could call like

memgen --template tintin-wednesday bubble2="Captain, it's Monday"

or

memegen -t surprised-pikachu label=CEO

or

memegen -t 3-spider-men head1=file:tobey.jpg head2=file:andrew.jpg head3=file:tom.jpg

Templates can be downloaded as separate packages (usually with more than one template) or created by the user. Text & images can also be placed manually using coordinates.

#CommandLine #CLI #memes

amadeus, (edited ) to Bash
@amadeus@mstdn.social avatar

Do you prefer #bash or #zsh and do you use #ohmyzsh? #linux #commandline #terminal

pug50, to linux

I just heard someone pronounce CLI as "klee", and now I want to be put into a cannon and shot into the sun.

#Shell #Linux #CommandLine

drahardja, (edited ) to macos
@drahardja@sfba.social avatar

Protip: rsync -avzE is almost 10x faster than Finder for copying a large number of small of files in a directory over local network.

And it’s resumable.

Performance on my 2.5 Gbps network:

  • rsync: 230 Mbps sustained
  • Finder copy: 25 Mbps? Hard to tell because it fluctuates a lot.

Edit: Added the -E option to make sure to copy xattrs.

adamsdesk, (edited ) to random
@adamsdesk@fosstodon.org avatar

How To Count JSON Array Elements with Jq

Learn by example on how to count JSON array elements with the use of the powerful open source lightweight command-line program, jq.

https://www.adamsdesk.com/posts/count-json-array-elements-jq/

#commandline #json #api #development

aral, to random
@aral@mastodon.ar.al avatar

A couple of command-line tools I’ve recently switched to using:

  • yazi as file manager instead of lf (fast and, for me at least, more intuitive and better handles default editor)

https://terminaltrove.com/yazi/

  • ouch for compression/decompression from CLI instead of getting the fucking unintuitive flags wrong every fucking time

https://terminaltrove.com/ouch/

(Thanks to @orhun for the recent link to Terminal Trove for the new finds.)

#cli #commands #utilities #commandLine #tui #terminal

adamsdesk, to random
@adamsdesk@fosstodon.org avatar
tantramar, to macos
@tantramar@nojack.easydns.ca avatar

Just picked up a copy of Joe Kissell’s Take Control of the Mac Command Line with Terminal, 3rd edition. @joekissell https://www.takecontrolbooks.com/command-line/?attribute_pa_format=ebook

adamsdesk, to windows
@adamsdesk@fosstodon.org avatar

5 Ways to Check Windows Operating System Uptime

A detailed guide of solutions on how to check a Microsoft Windows operating system's uptime duration since the last boot (power on/restart).

https://www.adamsdesk.com/posts/check-windows-system-uptime/

#WeblogPoMo2024 #windows #commandline #blog

feditips, (edited ) to mastodon
@feditips@mstdn.social avatar

Today, a very niche tip for techy people! 🤓

If you want to use Mastodon through a command line interface or text-based user interface, there's a tool you can install which offers both called "toot":

➡️ https://toot.bezdomni.net

This software is written by @ihabunek

(NOTE: This software has no connection to the mobile apps @tootapp or @tooot, they just have similar-sounding names.)

scott, to programming
@scott@tams.tech avatar

A thought just struck me, fuck command line options, why not just use environment variables? What makes git commit --message "fixed shit" better than message="fixed shit" git commit?

edit: apparently environment variables don't work the way I thought they did. I thought you could prefix a command (without a newline or semicolon between) with vars and they would be set only for the command

#programming #commandLine #linux #shitpost #development #shell

iamdtms, (edited ) to linux
@iamdtms@mas.to avatar

Create a file in #commandline

#linux
touch file

#windows
cd . > file

Theeo123, to linux
@Theeo123@mastodon.social avatar

https://www.omgubuntu.co.uk/2024/02/warp-terminal-official-linux-release

via: @omgubuntu

WARP is a new Closed-source Terminal written in Rust with AI built in, and it functions a lot like an IDE, rather than a traditional terminal.

The link above contains a really impressive demo video. The features are too numerous to list here, I highly suggest you click through and read the article at OMGUbuntu and watch the video.

#Linux #Terminal #CLI #CommandLine #TerminalEmulator #Warp #AI #Rust

iamkale, to random

It's 2023 and I still can't wrap my head around the fact that I can't freely move my cursor around the terminal, either by keyboard or by mouse, like I can a text editor. I know Ctrl+A to jump to the start of a line, but it's Opt + Arrow keys for anything else.

It's muscle memory at this point, sure, but please, someone, anybody: there's gotta be a better way.

#commandline #nosiridontlikeit

adamsdesk, to linux
@adamsdesk@fosstodon.org avatar

Markdown Viewers for the Linux Command Line

Updated with...

  • add viewer inlyne
  • add new glow features
  • change bat version
  • change mdcat version

https://www.adamsdesk.com/posts/linux-markdown-viewers/

awoodsnet, to Mac
@awoodsnet@phpc.social avatar

TIL: MacOS has a command line program called uuidgen - which creates UUID numbers

#Mac #CLI #CommandLine

profoundlynerdy, to linux
@profoundlynerdy@bitbang.social avatar

Does anyone here actually use the sc-im spreadsheet? If so, why?

For the uninitiated, sc-im is a -like spreadsheet program for the on and . There may be a windows binary but I wouldn't know.

jtk, (edited ) to Trivia

I miss @hal_pomeranz 's #CommandLine #Trivia challenges. Here is one inspired by a blog post I saw:

Write a command to extract the name of all active network interfaces.

orhun, to linux
@orhun@fosstodon.org avatar

Are you using mouse while copying output from the terminal? Well, not anymore.

🚀 yank: Yank terminal output to clipboard!

⭐️ GitHub: https://github.com/mptre/yank

#linux #commandline

video/mp4

RL_Dane, to linux
@RL_Dane@fosstodon.org avatar

Found a good command for compressing images in a PDF without messing with the text or anything else:

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dDownsampleColorImages=true -dColorImageResolution=150 -dNOPAUSE -dBATCH -sOutputFile=output.pdf input.pdf

troublewithwords, to random
@troublewithwords@wandering.shop avatar

I'm going to #askFedi because search engines are a complete waste of time for queries like this:

What is your preferred command-line, text-only browser?

Boosts welcome.

#askFediverse #commandLine #browser

adamsdesk, to linux
@adamsdesk@fosstodon.org avatar

📣 Updated: Markdown Viewers for the Linux Command Line

Investigate, play, and explore the benefits of using one of these Linux command line interface application Markdown viewers.

https://www.adamsdesk.com/posts/linux-markdown-viewers/

#commandline #linux #markdown #100DaysToOffload

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • Leos
  • cisconetworking
  • provamag3
  • lostlight
  • All magazines