What is the best way to make my tar log more informative?
Cat'ing the log shows what was backed up, but tells nothing about the files last update or size.
Eg:
tar cvf /dev/st0 foo* > backup.log
cat backup.log
foo1
foo2
...
I changed it to tar cvf /dev/st0 foo* | xargs ls -lah > backup.log
cat backup.log
-rw----- root root 2k June 6 foo1
-rw----- root root 2k June 2 foo2
...
Is it a good approach or do you know a better solution?