I already looked through the 7z "i" screen, the CHM help file, and formats supported and did not find my answer.
I run 7z via the command line in a batch file to backup a set of files. Currently when 7z updates a file in an archive, 7z shows one file on the same line, which gets overwritten with the next file, so I cannot see all files that were updated in the archive via the "u" command. How do I show one file per line that was added to the archive file when I run my backup? I might want to redirect that output to a text file. I.e. as 7z updates or adds a file to my archive file, how do I make 7z do a carriage return/line feed after each file so I can see all files on the screen in a list format that were added/updated?
Can this answer be added to the WWW FAQ page and CHM help faq page too?
Thank you.
Last edit: Bulrush 2020-05-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
7z v19 on Windows 10 in a cmd.exe window
I already looked through the 7z "i" screen, the CHM help file, and formats supported and did not find my answer.
I run 7z via the command line in a batch file to backup a set of files. Currently when 7z updates a file in an archive, 7z shows one file on the same line, which gets overwritten with the next file, so I cannot see all files that were updated in the archive via the "u" command. How do I show one file per line that was added to the archive file when I run my backup? I might want to redirect that output to a text file. I.e. as 7z updates or adds a file to my archive file, how do I make 7z do a carriage return/line feed after each file so I can see all files on the screen in a list format that were added/updated?
Can this answer be added to the WWW FAQ page and CHM help faq page too?
Thank you.
Last edit: Bulrush 2020-05-02
Use the
-bb
switch. For me, it seems to work with-bb1
, but you may want to increase verbosity.That worked. Thank you!