bananagift.blogg.se

Geektool for mavericks
Geektool for mavericks






geektool for mavericks
  1. Geektool for mavericks mac os#
  2. Geektool for mavericks zip file#
  3. Geektool for mavericks update#

Path of the file or folder that we want to back upĭestination = /Users/USER1/Desktop/MineCraft\ Backups/minecraft_backup Source = Users/USER1/Library/Application\ Support/minecraft The command is a simple ditto -c “source” “destination” “options”ĭitto -c /Users/USER1/Library/Application\ Support/minecraft /Users/USER1/Desktop/MineCraft\ Backups/minecraft_backup.$(date +%Y%m%d-%H%M%S).zipĪ command that copies directory hierarchies, create and extract archives

Geektool for mavericks zip file#

If successful you should see a zip file added to your backup folder. ditto -c /Users/ USER1/Library/Application\ Support/minecraft /Users/ USER1/Desktop/MineCraft\ Backups/minecraft_backup.$(date +%Y%m%d-%H%M%S).zip Make sure you substitute your user account name in place of “USER1” in the below command. You should have the two folders open like below.Ĥ. I created one called “MineCraft Backups” on my desktop, just to be easy. Now create a folder to place your Minecraft backups in. Navigate to the Application Support/minecraft folderģ. First on the desktop select “Go”, “Go to Folder” from the top menu barĢ. Using the Command Line to make the Backupġ. So I made a simpe script that can be run just by double clicking an executable shell script. I finally got tired of navigating to the Minecraft folder in the User/Library/Application Support folder.

Geektool for mavericks update#

My son is supper big into Minecraft, and it always comes up whenever there is a new update … How do I backup my Minecraft folder?

Geektool for mavericks mac os#

This entry was posted in Mac Admin, Mavericks, Terminal and tagged bash, command line, mac, mac admin, mac enterprise, Mac OS X, Managing Macs, Mavericks, pmset, Shell Script on Novemby Nic. Pmset -c displaysleep 30 sleep 0 disksleep 0 womp 1 autorestart 1 #!/bin/sh #version 1.0 #checks the curret status of "Computer Sleep", if it's not set to 0(never sleep), then it runs the pmset command # sets display sleep to 30 minutes # sets computer sleep = never # sets hard drive sleep - never # sets wake for network access = true # sets autorestart after power failure = true if ] then echo "Changing Power Settings"

geektool for mavericks

If it’s set to anything other then “Never” go to sleep, it runs my pmset command and sets the machine to my desired settings. I also wrote a simple script that checks the current status of “Computer Sleep”. Instead of using puppet or profiles to check and set the OS X energy settings. Check OSX Mavericks Powersettings With Shell Script This entry was posted in Mac Admin, Terminal and tagged bash, Homebrew, OS X, Shell Script, Terminal, Yosemite Terminal on Maby Nic. So out of the gates you have a custom terminal. Now that you can script it, you can add it to a post deployment script or launchagent that runs on the first login. #!/bin/bash #set Terminal defaults sudo -u $USER defaults write /Users/ $USER/Library/Preferences/ "Default Window Settings" "Homebrew" sudo -u $USER defaults write /Users/ $USER/Library/Preferences/ "Startup Window Settings" "Homebrew" #set window width to 120 sudo /usr/libexec/PlistBuddy -c "Add :Window\ Settings:Homebrew:columnCount integer 120" /Users/ $USER/Library/Preferences/ defaults write /Users/ $USER/Library/Preferences/ "NSWindow Frame TTWindow Homebrew" " 366 0 0 1280 777 " #restart Terminal killall Terminal exit 0 You can simply change “Homebrew” to whatever terminal theme you want. I always find myself changing it to Homebew. I think why aren’t I scripting this? I hate the default white terminal theme that comes in OS X.

geektool for mavericks

Scripting The Default Terminal Theme In OS XĪnytime I find myself doing a repetitive mundane task. This entry was posted in Uncategorized and tagged bash, bluetooth, Geektool, ioreg, macOS, Magic Keyboard, Magice Mouse, Terminal on Februby Nic. MousePercent=$(ioreg -r -l -k "BatteryPercent" \ | grep -A 9 "Magic Keyboard with Touch ID" \ KeyboardPercent=$(ioreg -r -l -k "BatteryPercent" \








Geektool for mavericks