deborah: the Library of Congress cataloging numbers for children's literature, technology, and library science (Default)
[personal profile] deborah
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

Date: 2007-03-14 11:31 pm (UTC)
From: [identity profile] cavlec.livejournal.com
Dude. You just totally lost me.

Custom Text

Gnomic Utterances. These are traditional, and are set at the head of each section of the Guidebook. The reason for them is lost in the mists of History. They are culled by the Management from a mighty collection of wise sayings probably compiled by a SAGE—probably called Ka’a Orto’o—some centuries before the Tour begins. The Rule is that no Utterance has anything whatsoever to do with the section it precedes. Nor, of course, has it anything to do with Gnomes.

Expand Cut Tags

No cut tags
Page generated Jul. 8th, 2025 05:42 pm
Powered by Dreamwidth Studios