Created
March 31, 2015 03:19
-
-
Save pronto/4e84dfae536e9c029c17 to your computer and use it in GitHub Desktop.
checker for rsync finish
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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