#bashscript

Jürgenelbosso
2025-05-06

Sooo noch schnell ein gefixt

Francesco Yoshi Gobbo :linux:frayoshi@qoto.org
2025-04-23

Timelapsing using only screenshots was getting heavy in term of #storage space, so have added a new #script to compress the #timelapse using a magical technology called '#video'.

so here you can find the commit!
Gonna work on adapting the multi-screen one soon ^^

oh, also rearranged the #ffmpeg config file!

github.com/FraYoshi/fura-utils
#bash #bashscript #linux #foss #floss #furaUtils

Francesco Yoshi Gobbo :linux:frayoshi@qoto.org
2025-04-16

created new script on the fura-utils,
to save timelapse screenshots of multiple monitors.

you can find the commit here:
github.com/FraYoshi/fura-utils
#bashScript #Linux #FLOSS #FOSS #ffmpeg

2025-04-13

In less than 18 hours, including a solid 12 hours (at least) of downtime, I have gone from concept to 90% functional prototype of a creative rPi project, thanks to aus.social allowing quick and easy downloads, jq, an obscure CUPS driver project, and an intimate knowledge of scripting.

Feeling very accomplished.

#BashScript #raspberrypi #hacking #json #scripting #art #linux

Dobody 🇺🇦🍉dobody@mastodon.design
2025-03-28

Kids, believe in your wildest dreams

#bashscript #svg

Zoomed in photo of a Bash script with a comment saying "it works hehe" in capital letters
2025-03-24

#DDev
#BashScript

So I was working on a Bash Script to automate creating new DDev projects a few months ago.

First script I ever tried to write myself, and incomplete as it is. Need to get back to it at some point, maybe post it and see what people think and how they may improve it.

It's a thought.

Micah Ilbery :sloth_coffee:micahilbery@slothsneed.coffee
2025-03-08

I think I just ran into a great example of how different tasks can require different energy levels that don't necessarily match their "difficulty".

I recently got a "new to me" laptop and at first set it up with Fedora Workstation but quickly realized I much prefer Fedora Silverblue (not the point of this post, so I won't get into why here) and needed to re setup everything. I didn't want to click through a ton of apps in GNOME Software and install them all individually then organize them in the overview.

So instead of doing all that manually I wrote a bash script from scratch to:

- remove any rpm packages I didn't want
- remove any flatpaks I didn't want
- reinstall fedora flatpaks from flathub
- remove the fedora flatpaks repo
- layer the few rpm packages I wanted
- install all the flatpak apps I wanted.
- create custom folders in the overview
- sort all the apps in those custom folders
- pin my most used apps to the dock

This felt like it required way less energy for me. Not because it was easier or faster. In fact I'm really rusty at bash scripting and I didn't even know how to organize the overview from the terminal, so I even had to learn something new and it probably took me way longer. But writing a little script was more fun for me and therefore didn't feel draining or overwhelming like the tedious task of clicking around for a couple hours would have.

#Linux #Fedora #Silverblue #BashScript #ADHD

Joel Carnat 📽️joel@eggflix.foolbazar.eu
2025-03-06
2025-02-28

This functions correctly in fish, but not in bash. In fish it correctly pipes stdout, which shows regular information, & stderr, which shows extra information from yt-dlp -v, to tee. In bash it has a syntax error unless I change &| to |&, & then instead of showing debug information & errors it shows every single HTTP request for every single fragment, which I do not want. I only want to see normal stuff & the debug & error stuff in my logs, not every single HTTP request. The simple solution is to turn this into a fish script, but I want this to use bash. I don't know how to do this so that only stderr & stdout go to tee & whichever output has all the HTTP requests to be dropped. The only thing I can think of is to pass it to grep -v before tee to remove lines with HTTP requests for each fragment. Does anyone know what the bash equivalent of fish &| is?
#BashScript #FishShell #Scripting

It is once again time to give thanks to Brian Fox, the Black American programmer that has given us BASH and echo! Thank you for your INCREDIBLE contributions to open source software, Unix, and Linux. It literally would not be the same without you. BASH is still absolutely foundational to all computing today. Happy Black History Month to an absolute icon!

#bash #bashscript #echo #foss #linux #unix #BlackHistoryMonth #gnu

Photo of Brian J. Fox, a Black man with a buzz cut looking directly at the camera with a neutral facial expression. He is has black facial hair with a few white hairs. He is heavier set and wearing a black t-shirt with his arms folded.

He was born in 1959 and is a GNU hacker, programmer, entrepreneur, consultant, author, and free software advocate.
Francesco Yoshi Gobbo :linux:frayoshi@qoto.org
2025-02-05

fura-video-hypercompress.sh has been updated :ablobbass:

It is a script to compress a #video to sub-mega sizes, which comes handy when used for previews or #licensing where storage used is #forever and #expensive (like S3).

I personally use it to shasum and store into SafeCreative, where storage costs a lot, considering I'm gonna pay forever and more space = forever higher prices :ablobcatcoffee:

In this update, video can be compressed even more, with a selectable frame rate.

in case you are interested in SafeCreative, leave my 10% off (why not?) 9XZKH9

github.com/FraYoshi/fura-utils

#bash #bashscript #ffmpeg #video

2025-02-02

Linux Bluetooth Hack: Automatically Open a Music App When Connecting Bluetooth in Linux #Bluetooth #Linux #Music #Fun #Bashscript
ostechnix.com/automatically-op

Kazuky Akayashi ฅ^•ﻌ•^ฅKazukyAkayashi@social.zarchbox.fr
2025-01-29
2025-01-05

#RaspberryPi owners, how do you back up your #RPi?
I don’t have an extra hard drive, so I need to back up to #GoogleDrive. I’ve installed #Rclone and tried creating a #BASH script, but I’m struggling with it.
If you’ve set up something similar or have recommendations for an efficient backup workflow, I’d love to hear them! Bonus points if you know any good courses or resources to improve my scripting skills.
#Linux #Tech #SelfHosted #SelfHosting #RaspberryPiBackup #RaspberryPi500 #RaspberryPiProjects #RPiBackup #RaspberryPiOS #RPiProjects #LinuxBackup #LinuxTips #LinuxCommunity #TechSupport #OpenSource #DataBackup #CloudBackup #GoogleDriveBackup #CloudStorage #FileBackup #Rclone #BASHScript #ShellScripting #ProgrammingHelp #CodeNewbie #LearnToCode #TechSolutions #Automation #techhacks @linux @selfhost @selfhosting @selfhosted

Yesterday I was getting my consultant #claudeai to help me write a #bashscript

...and it was screwing it up fantastically.

So I asked the #ai to do a "desktop check of the code"...
...The AI said "...I've run the code and it checks out"

So the Moloch may have capability to actually run the code for verification...
...or it was just hallucinating to please me...but the code run.

#promptengineering #llm

2024-11-11

I got my #DDev new project bash script to create a default #Backdrop project. I think I did it alright, but I also KNOW this could be done more efficiently.

I just don't know how yet.

#BashScript

2024-10-29

When a coworker asked you, what feels like it should be, a quick to answer questions, but it's not, roll on a side quest.
Is there a way to clear all scheduled downtime for a host quickly in Nagios? There is now
#nagios #techtips #ShellScripts #bashscript
mikedixson.com/posts/bulk-clea

2024-09-05

Introducing DebPostInstall: Your Essential Post-Installation Toolkit for Debian and Ubuntu Servers #Debpostinstall #Debian #Ubuntu #Bashscript #Linux
ostechnix.com/debian-ubuntu-po

Fossery Tech :debian: :gnome:fosserytech@social.linux.pizza
2024-08-02

I just don't like to search for how to write a shebang each time lol
And it's also more convenient to just write a function inside .bashrc vs. writing a bash script and aliasing it in .bashrc (so I can run "something" instead of "bash something.sh")
But that's just my preference of course. For scheduling it might not be practical, but I don't do that stuff.
(Fun fact: I'm actually a GUI guy, only use CLI for some dev stuff lol)

#Bash #CLI #Linux #BashScript #Bashrc #FosseryTech

Fossery Tech be like:
Separate bash scripts: nah!
Functions inside .bashrc: yeah!

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst