3 (printf ".open ${DBFILE}\n"
4 echo 'ls -1 zip' | sftp -q seraphy@storage.osdn.net:/storage/groups/c/ch/charactermanaj | grep -v "^sftp>" | while read line
6 printf "update zip_entries set href='https://osdn.net/projects/charactermanaj/storage/${line}' where fname='${line#zip/}';\n"