FileBackup tool, customing by commandline
-
Edit
restore.cmdandbackup.cmdas you need--fromthe dir you want to copy file from--toFile will copy to this dir--includefile name need include patten, allow multiply--excludefile name must not contain patten, allow multiply--removeremove patten in file name, allow multiplay--renamerename file name, usefull for delete empty dir, support character\-or stringorg:newreplace allow multiplay--debugdebug flag to show message--replacereplace the exisit file in target dir--splitsplit all file in piece 1/5 as div in 5, and 100 as 100 per piece--split_formatcustom out dir format, default _{p}, eg out_0{count} or {c}current file index{piece} or {p}current file piece{start} or {s}current piece start index{end} or {e}current piece end index{total} or {t}total file count
-
Drag folder which you want to backup to
backup.cmd -
Drag folder which you want to restore to
restore.cmd
-
编辑
restore.cmd和backup.cmd两个文件--from程序从该目录复制文件--to程序复制文件的目录路径--include文件名需要包含的内容, 可以指定多个--exclude文件名不能包含的内容, 可以指定多个--remove移除指定字符串, 可以指定多个--rename重命令文件, 支持单个字符\-和多个字符org:new可以指定多个--debug调试开关--replace替换目标路径中己有的文件--split分隔文件 1/5 把文件分成5份, and 100 每份100个--split_format分隔路径格式, 默认 _{p}, 比如 out_0{count} or {c}当前文件个数{piece} or {p}当前文件块数{start} or {s}当前块的起始个数{end} or {e}当前块的结束个数{total} or {t}总文件数
-
拖拽要备份的文件夹到
backup.cmd -
拖拽要恢复的文件夹到
restore.cmd