Various shell scripts made for Linux.
Tip: Add script folder to ENV in your .bashrc (or similar) and run the scripts anywhere!
Bash Splash! From neofetch to pfetch...to just a little bit more up-time stats:
- Uses 'last reboot' data to gather "approximate" data
- "Good enough" for my desktop use, as terminal splash screen trivia
- Only runs when called. (when I launch a Terminal window. No daemons or anything.)
- Customize directly in the script.
- Made for Arch Linux
- Uses 'day' & 'day-se' by default, unless optional argument is passed (see below)
Run kesplash from the top of your .bashrc (or similar).
or, Use/Modify as you see fit.
Optional Arguments:
nod (no 'day'+'day-se') or
do ('day' only) or
seo ('day-se' only))
ex: kesplash nod (for no 'day' / 'day-se') - if you also have those scripts (from this depot)
NOTE: If you (or your distro) has /etc/logrotate.conf or something that clear your logs regularly,
kesplash probably won't be useful.
( For more advanced up-time statistics, check out:
https://github.com/rfmoz/tuptime )
Calculate days + other units of time between input dates
Format: datecount 1989-10-03 2023-10-03
FROM-DATE TO-DATE using Year-Month-Day.
Not tested with non-ISO8601 locales - may or may not work
- Hyphens are not required
- If only a single date is provided, today is used as TO-DATE
- Only using the last 2 year-digits = "closest guess" for either 1900s or 2000s (by date cmd)
- Try your birthdate (and despair)
List Time Zones, in Shell script.
Zip each selected folder or file separately
- Using zip
- When used for Custom Action for Thunar : Use %N (or %F)
Convert MP4 Audio to MP3
Usage example: mp423 *.mp4 (converts all mp4s audio streams to new mp3 files)
- optional flag: -v converts MP3 to "visualized mp4"
- When used for Custom Action for Thunar : Use %N
- Has notifications for file(s) progress when used in Thunar (or other app - not terminal)
- Requires ffmpeg
International UN days.
- Some days may be moving dates (based on UN2024 dates - close enough! To-do: Support moving dates...)
- Use as-is (or as variable for other programs, like your terminal splash!)
- No webscraping - just a big associative array
Similar to 'day' but only (mostly) Swedish theme-days. In swedish!
- Use as-is (or as variable for other programs, like your terminal splash!)
- "Mostly", as some "special interest" (and joke-y) days are also included
- Does not include UN days or days with moving dates
- No religious holidays/Moving dates. To-do: Support moving dates...
Converts input text to html-code mixed with regular characters and commentes
- Should work reasonably well against the dumbest scrapers
- No other conversions/efforts are needed, just paste into html document
- Remember to quote the input if there are spaces!
- There are many simliar online tools (if you don't mind giving random online sites your email address)