# spaces added for readability # use a perl oneliner to have a minimal output redirected to an index.html file # it print the folder name, the output of du -csh and mtime a nd ctime from perl's stat builtin, finally a horizontal rule tag perl -lE "print $_.' '.`du -csh $_`,join' ',map{scalar localtime($_)}(stat ($_))[9..10].'
' for @ARGV" c:\scripts\chart c:\SCRIPTS\csidl > index.html # use plackup to start a webserver listening on port 5000 plackup -p 5000 -MPlack::App::Directory -e "Plack::App::Directory->new({root => q{.}})->to_app" # point your browser at the index start http://localhost:5000/index.html # enjoy the result! c:\scripts\chart 35K c:\scripts\chart 35K total Thu Apr 19 14:06:24 2012 Tue Apr 10 17:31:54 2012 ------------------------------------------------------------------------------------------------------- c:\SCRIPTS\csidl 16K c:\SCRIPTS\csidl 16K total Thu Apr 19 14:06:24 2012 Tue Apr 10 17:31:55 2012 -------------------------------------------------------------------------------------------------------