Hello.
I'd like to know how it is possible to get total file size of installed slackware package.
I discovered that it is possible to do this way:
Code:
du -sch `tail +8 /var/log/packages/opera-9.52-i386-1ErV |grep -v '.*/$'| sed 's/\(.*\)/\/\1/'`
But it is a bit ugly. Is there more elegant way to do this? (in one line of code, if possible).