Home » Posts tagged 'script'

Tag Archive

10.7 ActiveDirectory Admin appdeployment bash bzip2 chrome chromium convert dd Debian deployment deploystudio deploystudiopc diskimage dns du graphics imagemagick imaging iWork Linux Lion Mac modelfiltering nbi nc NetAdmin netboot netcat OSX preferences resize SAMBA script scripting server shadow SOE sparsebundle terminal uninstall Unix winbind windows

Remove iWork ’09 via script

Found an applescript written by Yvan KOENIG to remove iWork ’09 from a machine. Have converted it to bash so it can more easily be deployed via ARD and as a pre-flight to the installation package in munki. #!/bin/sh rm -rf “/Library/com.apple.iWork09.Installer.plist” rm -rf “/Library/com.apple.iWork09.plist” rm -rf “/Library/Application Support/iWork ’09/” rm -rf “/Library/Receipts/iWork09Trial.pkg” rm -rf […]

determine Linux directory sizes

Summarizes size of home folder excluding Dropbox, Downloads, Videos, Trash: du -sh –exclude “Dropbox” –exclude “Downloads” –exclude “Videos” –exclude “Trash” ~/   Shows size of subfolders (1 deep) with same excludes: du -h -d 1 –exclude “Dropbox” –exclude “Downloads” –exclude “Videos” –exclude “Trash” ~/