Skip to content

Instantly share code, notes, and snippets.

View alem0lars's full-sized avatar
💭
corrupting memory

Alessandro Molari alem0lars

💭
corrupting memory
View GitHub Profile
@alem0lars
alem0lars / migrate.zsh
Last active August 29, 2015 14:12 — forked from LMolr/migrate
Perform filesystem migration to a destination server (via rsync)
#!/usr/bin/env zsh
# parse arguments {{{
zparseopts -A _opts -user: -dstsrv: -dstpath:
if [[ $? -ne 0 ]]; then
echo 'invalid arguments'
exit -1