the split command
While searching for a good way to break up my large files into smaller pieces, I found the split command.
I made a very large error in my implementation of the split command when I forgot to put a M at the end of the –bytes flag, and the command ended up spliting a 8GB file by 1986bytes.
split --bytes=1986M a a.sp
This results in a very large number of files.
I also found out the zsh, with my configuration, is very slow with very large numbers of files; I had to revert back to bash
And due to globbing I could only delete a small number at a time.
Then I found this gem
find . -name "a.sp*" -print0 | xargs -0 rm