ref: 25bdce693fe57afdd2a9398c92608a37c0c17b9e 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