I am using multi-procs in 'xargs' to process a bunch of zip files. How to display the count of files processed in multi-procs??
find -type f -iname \*.zip | xargs -IZ -P 5 sh -c 'unzip "Z"'
How can i get the current number of file being processed..? I just would like to know how many files already processed so far..? Suppose i have 1k zip files i need to know how many zip files processed so far like.. "Processing file: 200" "Processing file: 400" or "Processing file: 405 of 1000"
Thanks..
|xargs -P5 unzip
?