Filepaths inside array and size?

M

Math55

hello, lets say i have an array with some elements like that:


/var/file1
/var/file1.2
/var/log/file2
/var/log/hallo/file3


how can i get the size of all the files in a very fast way? right now
i get it with -s, but this is very slow, if the array contains many
elements! can i do that with "du" on unix or something?

THANKS!!!:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top