Skip to content

Instantly share code, notes, and snippets.

# Removes local Time Machine backups
BACKUPS=$(tmutil listlocalsnapshotdates)
echo Deleting local backups...
for d in $BACKUPS; do
# The first line of the output of this command is "Snapshot dates for all disks:"
# so we're just making sure this is a number and presumably a date.
if [ ${d:0:1} == 2 ]; then
echo $d
tmutil deletelocalsnapshots $d

Keybase proof

I hereby claim:

  • I am oxhacks on github.
  • I am face (https://keybase.io/face) on keybase.
  • I have a public key ASA1SES5_rnBUKHRpXjTf9OxMV9tePpwWqZK-flRmhKF5go

To claim this, I am signing this object:

# Motion export script
rad2deg = 180/3.14159265
import bpy
import math
from math import sqrt
sce = bpy.context.scene
saveFile = open("/Users/h/Documents/BlenderPlayback.csv","w")