Ramblings on Librarianship, Technology, and Academia

I never metadiscourse I didn't like

6/5/07 11:21 am - commandline tools: making my life easier every day

You know what I really love? ImageMagick.

I just started a process creating use JPEG images out of 4000 high-quality TIFFs. One line of bash, and now it will run for a while, and I can go do something else.

*loves*

3/14/07 02:29 pm - dspace's import file format and shell scripting/line noise

I may be a librarian now, and I may be a tcsh user in my every day life, but apparently I still can flex my bash-fu when I have to. Yay for line noise!

export j=1;for i in `ls M*.xml`; do k=${foo-`echo $i|cut -f1 -d.`}; mkdir item_$j;cp ${k}.xml item_$j/dublin_core.xml; echo ${k}.jpg>item_$j/contents;cp
../streams/${k}.jpg item_$j;let j++;done
Powered by LiveJournal.com