Sometimes you need a simple log to know when a site is up or down. Create a script like below and then put it in your crontab.
Category: Mac OSX
Posts in this category are specific to Mac OS and may not work on other UNIX based systems.
BASH – Picture / Video File Name Manipulation
Often there are needs to rename a picture or video to help with organizing the files on a computer or in cloud storage. The code below can help to make some organization easier. For those that are not use to the date format used below, it is specifically chosen to…
Bash – Unix – Identify Distribution (What OS Am I On)
Unix Identification is a script that originated with VMWare but I have added some other systems to the script. No Install Option Install Option Basic parameters of the script No parameters passed you will be asked to type a,d,r,or i then press enter/return Parameter a (all details) passed Parameter d…
Mac OSX Terminal – Parallels VM Backup / Restore
If you use Parallels like I do sometimes you need to test things and recover from that test rather quickly. My process is to first build the base/template VM the way I want it and then back it up before testing things. In intervals if I’m going to continue to…
Mac OSX Terminal – Uninstall Palo Alto Global Protect
First copy this text to a file and name it uninstall_gp.sh The code below is right from the Palo Alto Global Protect installer for Mac After you have the file created run the below
Mac OSX Terminal – Format Disk
This process is very helpful to format a disk that has multiple partitions on it like a Raspberry Pi SD Card. This script can be updated to allow a different type of format (JHFS+ instead of FAT32) but for now it serves my purpose.
Bash / PowerShell – Rip Sermon Audio From CD
To expand on an earlier post “MacPorts / HomeBrew – Rip CD tracks from terminal” I have worked on two scripts; one for Mac and one for PC. Both scripts (Bash and PowerShell) will run similar with predefined values that you’ll need to update for your own purposes (look at…