Posts Tagged: Bash

I will be heading out for vacation for a couple of weeks, so content update will be sparse. Here is a short Bash alias which creates a directory with todays date:

I recently had to replace a lot of words inside a bunch of text files, and I found myself referencing the recursive replace script that I originally posted here. However, I thought that it could use some work, as it was annoying to have to change the word to replace manually each time I wanted… Read Article →

I am brushing up on my bash scripting skills, as I’ve only learned bash through trial and error as well as stealing code found on the Internet. Something simple that I came across is preventing unintentional file/folder removals such as the classic “rm -rf /” which will delete the entire file system in some cases…. Read Article →

I needed a simple backup script that compressed a folder and saved it on a locally mounted network share. I found the following script on this Github page, which I then modified to suit my needs. I run this script daily through Cron (make sure to use bash to run it, sh does not work)…. Read Article →

Scroll To Top