Rename files with bash and regular expressions

  1. for i in *.*; do j=`echo $i | sed 's/abc_\(.*\)\.jpg/def_\1.jpg/g'`; mv "$i" "$j"; done

this example would rename the files abc_001.jpg, abc_002.jpg, ... to def_001.jpg, def_002.jpg ...

Posted at 7pm on 30/01/08 | 2 comments | Filed Under: One-Liner read on

Convert images to swfs with JSFL

One of the downsides of SWFMill (probably the only one) is, that it doesn't compress pngs, so things can get big pretty soon. If you need to convert a bunch of images into swfs and need transparency but compression, you can use the following script to achieve that by automating flash.

Posted at 10am on 11/12/07 | no comments | Filed Under: Software read on

inhale, exhale, vote, buy!

exhale - Threadless, Best T-shirts Ever

Yay! My wife's threadless submission is open for voting! So if you're a threadless user go and vote for her!

Posted at 4pm on 18/09/07 | no comments | Filed Under: Links read on

Flash Remoting Tester with JSON Input

Just a little tool, which may be helpful. A test application for remoting services.

Posted at 11pm on 15/08/07 | 1 comment | Filed Under: Software read on

Categories