I have a text-file that contains a list of filenames (one filename per line).Now I would like to calculate the size of all these files. I think I will have to do a ls -la on every line of the file and then accumulate the filesize.I think that awk will be part of the solution, but thats just guess.
Sum of filesize of a list of files
bash;files;awk