Hi,
I just noticed that tce-size will not display the size of an extension if it doesn't have any dependencies.
The script does all the hard stuff but misses the simple case.
I think the script exits early when it cannot download "$app".tree and a .tree file only exists if the extension has dependencies.
For my purposes, I can just grab the extension size from sizelist, but it would have been nice to use a standard script especially when it handles dependencies so nicely.
tc@piCorePlayer3:/usr/bin$ tce-size nano.tcz
file.tcz 266240, 0.25 MB
nano.tcz 139264, 0.13 MB
ncurses.tcz 192512, 0.18 MB
Total size (bytes) 598016, 0.57 MB
+ Indicates need to download 0, 0.00 MB
tc@piCorePlayer3:/usr/bin$ tce-size file.tcz
wget: server returned error: HTTP/1.1 404 Not Found
tc@piCorePlayer3:/usr/bin$ tce-size ncurses.tcz
wget: server returned error: HTTP/1.1 404 Not Found
regards
Greg