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.
tar cvf /dev/st0 foo* > backup.log
I changed it to
tar cvf /dev/st0 foo* | xargs ls -lah > 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?