This is an interesting and timely thread, having just worked on a directory index script which includes file sizes:
http://www.sodface.com/repo/ It's the classic directory index style, also used by the Alpine mirrors: https://dl-cdn.alpinelinux.org/alpine/ I didn't like that stat returned bytes and started looking at converting it to something more human readable. An interesting discussion here: https://unix.stackexchange.com/questions/44040/a-standard-tool-to-convert-a-byte-count-into-human-kib-mib-etc-like-du-ls1 I'm going to leave it at bytes for now just to keep things simple. I doubt I'll get any complaints. ------------------------------------------------------------------------ sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057 View this thread: http://forums.slimdevices.com/showthread.php?t=116079 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
