Skip to content

Instantly share code, notes, and snippets.

@pronto
Created March 31, 2015 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pronto/4e84dfae536e9c029c17 to your computer and use it in GitHub Desktop.
Save pronto/4e84dfae536e9c029c17 to your computer and use it in GitHub Desktop.
checker for rsync finish
#!/usr/bin/env zsh
#step one: save this awesome song as "sigtrapdc22.mp3"
# https://soundcloud.com/sigtrap/defcon-22-2014-demo
#then chmod +x this file
#./checkit.zsh ./.filename.ext.thatthingRsynaddsasittranfters
#something like ./.pron.mkv.3M3mTu
while :
do
if [[ ! -a $1 ]]; then
mplayer ~/music/sigtrapdc22.mp3
fi
sleep 20
echo 'loop'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment