tar for backups I'd like to create a separate list of the files that is included in the archive for storing alongside the backup tarball.
I also want to be able to store the error messages from tar in a log.
Solutions that's not so good:
&> filelist.txtBut this would give errors + file list in one file.
tar --listafter the tarball has been created. But this takes a long time.
Is there some way to get the file list and store it in a separate file at the same time as I'm rolling the ball for the first time?