ref: db1fdce82c510241ca9bc9370f9489e8f3c850ab dir: /bin/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