ref: d7a1ee80efc0872f929961f487ca6ab30e97d87d dir: rc/dw
#!/bin/rc if(~ $1 -o){ of=1 shift } for(i in $*){ f=`{echo $i | sed -n 's,.*/([^/]+)$,\1,p'} if(! ~ $#of 0 || ! test -e $f) echo $f' '$i } | xargs -n 2 -p 10 hget -o