3 ms·
I imagine it's useful if you don't know all the commands you want to queue at the beginning. For example: nq ./my_awesome_analysis /data/complicated_file_
by cozzyd 11y ago
I imagine it's useful if you don't know all the commands you want to queue at the beginning.
For example:
nq ./my_awesome_analysis /data/complicated_file_with_long_name.dat
# um... what's the next file?
ls /data
nq ./my_awesome_analysis /data/even_more_complicated_path.dat
man rsync
nq rsync -avh --progress out* somewhere_else.net:
- jessaustin 11y agoYou don't need nq for that. Just kick off ./my_lame_analysis in the background whenever you want.
- cozzyd 11y agoYes but then they will execute at the same time instead of sequentially.
- shanemhansen 11y agoHow about: ./my_awesome_analysis /data/complicated_file_with_long_name.dat & # do some stuf wait ./my_awesome_analysis /data/even_more_complicated_path.dat
- e40 11y agoIt's still not equivalent, and it's more cumbersome.