Bash – Split Large Directory
If you have a directory with a lot of files/directories in it and need it to be smaller this block will help by grouping 400 files at a time into different sub-directories.
If you have a directory with a lot of files/directories in it and need it to be smaller this block will help by grouping 400 files at a time into different sub-directories.
After an upgrade of the macOS you sometimes will lose the capability to SSH into other computers/servers. The code below will add the needed pieces to be able to SSH again. Please note that some sites will state to do ‘HostKeyAlgorithms +ssh-rsa,ssh-dss’ but ssh-dss was discontinued in 2015 and mostly should not work.
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.
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 make it easier to organize…
A bit crude but works
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 (detail) passed Parameter r (release)…
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 use the VM I will…
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