:rolleyes:Hi,
I need to find the sum of size of specific files in my directory
Say for ex,
mydir$ ls -ltr
permisssion links user group size date time filename
I want to display the sum of size of filenames having pattern "TS55". Note file size in this directory is near 400 MB.
mydir$ ls -ltr | grep "TS55" | awk '{sum+=$5} END {print sum}'
1.52757e+11
I want to have the output in full decimal form and not in exponential form like this. Please advice on this.
Thanks,
Ramkrix