I decided to implement a new version in BaCon http://www.basic-converter.org/ , in preparation for a gui version. This one shows filesizes and runs more quickly - I think - than the bash script I did yesterday. The source code is also here, so you can compile it yourself if you download the BaCon sources.
The output looks like this:
With kind regards,----------------------------------------------------------------
Contents of pup-advert-blocker.pet:
----------------------------------------------------------------
/usr/share/applications/pup-advert-blocker.desktop (251 bytes)
/usr/local/pup-advert-blocker/pup-advert-blocker (6748 bytes)
/usr/bin/pup-advert-blocker -> ../local/pup-advert-blocker/pup-advert-blocker (0 bytes)
----------------------------------------------------------------
Total installed package size (in bytes): 6999
----------------------------------------------------------------
vovchik