ArchiveTeam / IA.BAK

We back up a lot of stuff from around the web; now it's time to back up the Internet Archive, just in case.
GNU General Public License v3.0
87 stars 22 forks source link

script should check the free space reservation for common errors #7

Closed db48x closed 9 years ago

db48x commented 9 years ago

I accidentally typed in 1T instead of 1G, but I don't have anywhere near 1 terabyte of disk space available at the moment. git annex correctly avoided downloading anything at all, but the script could have checked that my input made some sense first.

It could also check that the input makes sense as a size as well.

cancerAlot commented 9 years ago

Do you mean something like that? https://github.com/ArchiveTeam/IA.BAK/commit/671518992d6b08dfe9fb9f4f5f857ce8947b59fc