I wanted to backup all my .vcf files from my carddav server (ownCloud). The script is very simple and is the following:
$ wget -Avcf -r -np -l0 --no-check-certificate -e robots=off --user=user \ --password='password' https://cloud.domain.com/foo/carddav
The total number of .vcf files is about 400, after downloading about 70 of them, wget returns this error:
original URL: http://oi40.tinypic.com/2ch9itt.jpg
Which kills the process because the system is "out of memory". The system is a Debian Wheezy virtual machine, hosted on Windows 7. I tried to raise the RAM to 1024MB instead of the actual 128MB, but the problem still exists.
Any suggestions on how to work around this or alternative ways to accomplish this?