/bin/brain
/bin/zsh II
First level home-backup
To do this I use the in my .zshrc defined functions.
smartcompress --no-recursion ~/*
Use hdiutil to crypt this
osX crypt.org has some crypto-extensions, that really rock the house. I avoided this during beta-phase. But this time... it's so awesome... THANK YOU GUYS THERE!!!
The standard nevertheless works like this:
sudo hdiutil create -srcfolder ~
/Volumes/$HDNAME/$DMGNAME.dmg -encryption
Keep in mind that the sudo is dependent from the path's ACLs.
Have a look at the file:
file $FILE
Not so smart... strings maybe a nice pager... btw. But well small osX stuff. Have a look at xattr, too.
Extended Sandboxing in Leopard
Since we all use 10.5, we've got a new function:
Use
sandbox-exec -p "(version 1) (allow default)
(deny network*) (deny file-write*) (debug deny)"
/Applications/Safari.app/Contents/MacOS/Safari
So... enhance your security by using this feature. :) It's not zsh related now... I'm currently figuring out some zsh functions for this. :) Believe it!

Post new comment