The last blog entry is dated 2010. Seriously? Oh, time goes so fast... and so much interesting happened during these years. I preferred spending time on different projects rather than writing a technical blog. Let's admit, I'm not a writer, but in the same time I like to discover new things and share my experience with others. I think I know what needs to be done. It's time for reboot. Stay tuned!
People, who tried to create parallel Bash scripts, are probably aware of -P parameter of xargs utility. In conjunction with find it allows to execute a specified command for each file and distribute these commands among several processes. This scheme is perfect when you need, say, convert all files in the given directory.
When I started to write such scripts, a certain inconvenience is revealed. Commands, that should be given to xargs, usually appear to be more complicated than a single call of some utility with arguments. It's often needed to pass a set of commands, especially when progress indication and error reporting are required. Finally, a separate script for processing a single item is created in addition to the script that has the xargs call.
I analized how to combine these two script into one...