How to recursively move all .ics files to a single folder on the Linux command line

This command will move all *.ics files from the current directory and

mkdir -p ICS
find . -name "*.ics" -type f -exec mv --backup=numbered -v {} ICS/ \;

Due to --backup=numbered, files with the same name won’t overwrite anything but instead mv will append a number such as ~2~ to the filename.