I have a backup script that calls an SVN dump, outputs stderr to a file, and then outputs the output to 7zip.
Now I need to transfer this system to windows using a batch file, but I canβt access the file twice on the same line, as linux will allow me, is there an alternative syntax?
svnadmin dump D:\Repo\example 2>> %logfile% | 7za a new.7z >> %logfile%
(the above is just an example)
On Windows, if I try to do this, I get an error when the file is already available. How can I make sure that I get an error from both svnadmin and from 7za to my log file?
Hamid source share