Thanks that is roughly what I want to achieve but I have the problem that my search finds 30 files dated with -3 days dates and the exact same 30 files dated -2 days from the present date, this being due to daily backups across 30 hosts being kept for -3days and -2days.... The response above provides a single row compounded result for all files.
To explain this better I am seeing this from my search:
filename size(bytes)
abc-1986-01-08-16:00:43-level1.tar 1000
def-1986-01-08-16:00:43-level1.tar 700
abc-1986-01-09-16:00:43-level1.tar 1200
def-1986-01-09-16:00:43-level1.tar 800
...x 30 instances of separate files dates with both -3days and 30 files with -2days
the command provided does a count and % increase computation of all disregarding that different files and their sizes are being used in the percentage increase computation. I am after a per file % increase difference in size for the same file name from the previous date.
Would you know how to separate individual files size increases per file names across all 30 files and list them per row?
Eg:
filename size(bytes) Increase-from-previous-date(%)
abc-1986-01-08-16:00:43-level1.tar 1000 0
abc-1986-01-09-16:00:43-level1.tar 1200 20
def-1986-01-08-16:00:43-level1.tar 700 0
def-1986-01-09-16:00:43-level1.tar 800 14
thanks
... View more