Answer the question
In order to leave comments, you need to log in
How to archive with 7-zip only new files in a Windows directory?
I use this batch file on Windows:
@echo off
set source="D:\test"
set destination="D:\test"
set passwd="Qwerty"
set dd=%DATE:~0,2%
set mm=%DATE:~3,2%
set yyyy=%DATE:~6%
set curdate=%dd%-%mm%-%yyyy%
"C:\Program Files\7-Zip\7z.exe" a -ssw -mx9 -p%passwd% %destination%\backup_%curdate%.7z %source% -sdel
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question