Get list of recently modified files
Posted: 2019 Jun 24, 15:16
Hi,
I have created a batch script to backup into 7z files the contents of one specific folder, let's say: C:/Data
With that I'm able to create full backups but I would also like to create differential backups, only including the files modified in the previous day. I've found this page:
https://www.windows-commandline.com/fin ... fied-time/
And this command is what I need, but I would like to get the full path so when the files are compressed in the 7z file, it keeps it's real location.
forfiles /P C:\Data /S /D +24/06/2019
Could someone help me, please?
I have created a batch script to backup into 7z files the contents of one specific folder, let's say: C:/Data
With that I'm able to create full backups but I would also like to create differential backups, only including the files modified in the previous day. I've found this page:
https://www.windows-commandline.com/fin ... fied-time/
And this command is what I need, but I would like to get the full path so when the files are compressed in the 7z file, it keeps it's real location.
forfiles /P C:\Data /S /D +24/06/2019
Could someone help me, please?