October 29, 2004

Random Photos

Filed under: Tech-Stuff — Chris @ 9:42 am

I added a random photo to the top of the blog. Created a cool little script to go thru the directories (for $I in *) and then gawk the data I wanted and put it into the random photos file.

Command line rocks.

for filename in *; do ls $filename |cut -f 1 -d . | uniq |grep -v album |grep -v photos |grep -v serial | gawk ‘{print “‘$filename’” “/” $NF}’; done > /myfile.txt

Popularity: 1% [?]