kernelthread.com

awtool: AudiWorld Tool

Why?

I was feeling really lazy one day, and even had some free time on my hands. Consequently I wrote a program that would help me be even lazier. "awtool" currently allows you to upload pictures, delete pictures and list existing pictures on the AudiWorld website. Its utility lies in the fact that these operations can be performed from the command line (both on Unix and Microsoft Windows), and you can add/delete more than one picture at once. For example (do refer to the hopefully useful "-h" option for help, which would give you a list of command line options and usage details):

% ./awtool -h awtool version 0.1a Picture poster command line tool for AudiWorld. Usage: awpost [OPTION]... FILE... --add add picture(s) to AudiWorld --cookiejar location of a Netscape cookies file --delete delete picture(s) from AudiWorld --email AudiWorld email address --help print this help message and exit --info detailed usage information and legalese --list list your existing pictures on AudiWorld --password AudiWorld password --verbose be verbose while uploading --version print version information and exit Report bugs to <xxx@yyy.zzz>.

Actions

The actions performed by awtool are as follows:

ADD

% awtool --add file1.jpg file2.jpg ...

This would upload the specified pictures to AudiWorld. If awtool cannot find AudiWorld cookies on your local computer, you might have to provide your AudiWorld username and password.

DELETE

% awtool --delete file1.jpg file2.jpg ...

This would delete the specified pictures from AudiWorld immediately. Please understand that NO WARNING WILL BE GIVEN.

LIST

% awtool --list

This would list the existing pictures you have in your AudiWorld "Picture Poster" account. Picture names and AudiWorld "Picture IDs" are also show.

I have tested (loosely speaking) this on Linux, Solaris, FreeBSD and Windows 2000, and it should work exactly the same way on these platforms.

Download

awtool

Platform Size Link
Perl Script (platform independent) 14 KB awtool
Linux stand-alone executable 818 KB (compressed) awtool.gz
Windows stand-alone executable 864 KB awtool.exe

This is the first version, so if I or some other people find it useful enough, I'll add more features. By all means, please give your comments, suggestions and criticism.

DISCLAIMER

If you do decide to try it out, please read the included legalese (which basically says that the program is not affiliated to AudiWorld, etc.). I would be happy to provide technical details, and fix any bugs that might be there.