Just for convenience, paste this in a git bash window:
while true; do date; echo "Polling svn server..."; git svn fetch;
echo "Sleeping."; sleep 300; done
That's all folks!
All the posts here have been copied over to my main site at https://0x5.uk/ - this blog is kept online for posterity, avoiding bit-rot / link-rot, and the comments.
# Become root (as you don't currently have permissions to modify your own files)
sudo -i
# Reset ownership & group to yourself
chown -R tim:tim /home/tim
# give yourself the default read-write permissions, set group and other to read only
chmod -R 644 /home/tim
# re-apply excecute permissions on all the directories
find /home/tim -type d -print0 | xargs -0 -II chmod 755 'I'
# Don't leave your private keys showing:
chmod -R 700 /home/tim/.sshfind * -type f -exec chmod -x {} \;# Comment in the above and uncomment this below for a color prompt
if [ $UID = 0 ] ;then
PS1='${debian_chroot:+($debian_chroot)}\[\033[00;31m\]\u@\h\[\033[00m\]:\[\033[00;34m\]\w\[\033[00m\]\n\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\[\033[00;32m\]\u@\h\[\033[00m\]:\[\033[00;34m\]\w\[\033[00m\]\n\$ '
fitim@lap:~/Documents
$ echo "That's better"