Mercurial > hg > cc > cirrus_home
view bin/doPlinks.sh @ 3:cbd13beb0922
only create links file if there are some
| author | Henry Thompson <ht@markup.co.uk> |
|---|---|
| date | Tue, 18 Feb 2020 22:41:08 +0000 |
| parents | a4b0359456bc |
| children | 0f494c76a887 |
line wrap: on
line source
#!/usr/bin/bash mkdir -p /dev/shm/x plinks.py $1 # while read f # do # if plinks.py $f > /dev/shm/x/links_${me}_${mine} 2>/dev/null # then # ((mine+=1)) # else # echo $f >> /dev/shm/x/badpdfs_$me # rm -f /dev/shm/x/links_${me}_${mine} # fi # done rsync -a /dev/shm/x/ links
