Piping data on Windows command prompt

后端 未结 2 364
情歌与酒
情歌与酒 2020-12-16 17:36

I need to get a backup dump of a large (~8gb) svn repository. My current method involves using svnadmin dump to a file and then using 7-Zip to compress and spli

2条回答
  •  执笔经年
    2020-12-16 18:23

    svnadmin dump dumps to standard out by default and the 7z command line can read from standard input using the -si switch.

    svnadmin dump c:\path\to\myrepo | 7z a -si svndump.7z
    

提交回复
热议问题