I have a directory containing million xml files.I want to create multiple zip files containing n number of xml files. For ex: if n = 10000, then I want to create 100 zip files i.e. each zip file will have only 10000 xml files.What is the most efficient way to create these zip files? I don't want this process to take more time since I have to repeat this operation for multiple folders having millions of xml files.
How to create multiple zips from a directory containing a million xml files?
shell script;zip