Re:Unix command line queue utility
by icebraining on Wednesday August 26, 2015 @07:17PM
(#10126576)
You could also use a for loop. But as others pointed out, that doesn't allow you to add items to the queue after it has started.
It does if you use a fifo instead of a text file. This is the difference between basic Unix literacy and actual Unix proficiency. I'm not being insulting; very few people take the time to learn the tools Unix provides. And naturally, a developer is going to be more interested in writing tools than most.
Re:Unix command line queue utility
by icebraining on Thursday August 27, 2015 @07:27AM
(#10128742)
I don't think you can use a fifo with xargs, though it'd definitively work with a loop. Even with text files, using tail -f.
Queues up 20 concurrent downloads with wget, for example.