-
Edit an incorrect commit message in Git:
git commit --amend -m "New commit message"
-
What is archive mode in rsync?
rsync -avzP /home/myname/ /media/externaldrive
-
add to crontab source
crontab -e # backup everything in my home directory everyday at 5 past midnight 5 0 * * * /usr/bin/rsync -avzP /home/myname/ /media/externaldrive