Zend certified PHP/Magento developer

linux “cp” copy command causes “Too many open files”, how to restrict a process in number of opened FDs

I would like to avoid this my question to be dealt with details where and how the cp command was used, and even that the process is the copy command.

I have googled and found thousands of articles on how to increase the limit of allowed open file descriptors (of FDs) in case of “Too many open files”.

Where are descriptions about invoking a process in such a way the process will open only a specified small number of FDs.

If cp is setup to copy files one by one it will need to have only about four FDs open at a time.

What 50 years ago was normal, why cannot be switched to such behavior now.

Regards