See https://github.com/FortAwesome/Font-Awesome/wiki/Customize-Font-Awesome for understanding of how customization works.
First, you need to cd
into the folder with svg files and concatenate it to one html file
cd /path/to/svg_files
cat * > svgs.html
Now open the svgs.html and collect all requred paths with this script: