ref: 8de9a4a06d6d5cc8246464f3835cfe885cf6efcc 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