set limit to data transfer/copy speed

On command-line and/or file managers (such as nautilus), how do we set an upper limit to data transfer/copy speed?

I haven't found anything on the manuals of "cp" or "mv". I wan't to know this since I'm having problems putting files in a microsd cards of class 4. Transfering small amounts is fine, but when I put up a large queue of files (like 100 files totalling 10gb), things go bad. There comes an "input/output error" and then onwards the sd card locks and I cannot delete or do anything with it. Setting a transfer speed would probably fix it.


I think scp -l 500 original /some/destination/ might me your best option.
Where:

  • -l Limits the used bandwidth, specified in Kbit/s.

See man page