Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- of="$HOME/Documents/calendar/cpfc.ics"
- tf="$HOME/Documents/calendar/cpfc.new"
- wget http://www.goalpost.tv/calendar/premier-league/crystal-palace.ics -O $tf
- if [ $? == 0 ]
- then
- echo Moving $tf to $of
- mv $tf $of
- fi
- exit $?
Add Comment
Please, Sign In to add comment