Fix "Too Many Files" for Bash

Use find when cp/mv/rename hits the argument limit.

2020

find DIR_PATH -name "*.ext" -exec COMMAND {} \;

For example:

find /home/ftpuser/public_html/ftparea/ -name "*.jpg" -exec cp -uf "{}" /your/destination \;

View gist

Charles Lovering © 2026