Copying a giant file with resume on error

General rule: any computer task that takes more than an hour must be done in a way that allows resuming if aborted. So, how to copy a giant file?

rsync --partial --append --progress --bwlimit=300\
nelson@wi:~/nobackup/geodata/planet-130327.osm.pbf .

Both the --partial and --append are necessary; the --partial tells rsync not to delete when aborted, and --append tells it to pick up where it left off the next time. There’s more subtle options available too.