I'm writing a shell script to copy gigabytes of data from directory A to directory B.
The script runs just fine, but it's absolutely eating the available resources - presumably disc read/writes?
Is there some way of throttling processes to limit their resource usage for disc / processor / ram etc?