Problem Let me be the first one to post a Gentoo ebuild for review, as suggested by this meta post […]
Category: Bash
Generate SQL UPDATE from Excel CSV file
Problem I must write updates in a database from a flat file (CSV). I want to do that in the […]
Bash time converter
Problem This is a simple script to convert a given unit of time to other units of time. I wrote […]
Bash script for mounting and backing up VeraCrypt volumes
Problem My bash script mounts two VeraCrypt volumes, rsyncs their contents, and dismounts them. The script takes two parameters, the […]
WordPress downloader and unpacker
Problem Wrote a small bash-script today that downloads the latest swedish wordpress archive , extracts it and writes wp-config.php Would […]
All core MediaWiki upgrade script (round 2)
Problem The following script upgrades an existing, all core (no add ons) MediaWiki install. I run it with set -x […]
Rdoc – a command-line tool for launching documents (improved)
Problem A few days ago I posted a previous version of my first bash script here to get few tips […]
Bash script that can uncompress: tar, gzip, rar
Problem This code generally works exactly as it is supposed to. I’m learning bash I’m looking for some constructive help […]
Git commit-msg URL shortener
Problem I have just written my first git hook script. It is very simple that simply finds any URLs in […]
Bash Shell Script uses Sed to create and insert multiple lines after a particular line in an existing file
Problem This code seems to work, but I’d like someone with shell-fu to review it. Is the temp file a […]