I have modified some php code files which are part of a project that lives in a directory with subdirectories. Now I'd like to send a zip file which contains only the files that were modified last to another person. Like:
/c/index.php
/c/out/inc_out.php
/sales.php
Is there an easy way to select a date range and create a ZIP/RAR archive with the latest modified files? I'm on Windows.
Why using a script for this task? WinRAR supports such tasks directly.
WinRAR adds to the archive now only files with a last modification time according to the specified time values.
See help of WinRAR or file Rar.txt in program files folder of WinRAR if creating the ZIP/RAR archive file should be done from command line. There are explained the command line options -ta<date>
(modified after) and -tn<time>
(newer than).