Reputation: 199
I am looking for a way to zip a project including all files and have the zip file dated. has anyone done this and is it possible ?
Upvotes: 1
Views: 138
Reputation: 57774
Sure, I did this for years using Windows NT. I created a batch file named bu.bat
in each project and also a backup directory named bu
. The batch file contained
pkzip -ex bu/projectprefix%1 *.c *.cpp *.asm *.h *.bat (etc.)
and then I would use it by first listing the backup directory to see what the next number to use is and then
bu 179
Pkzip
stores the file timestamps into the archive. -ex
chooses x
tra (a higher level) of compression.
Upvotes: 1