Snapshot of your working directory

We need two open source programs: Gzip is a compression utility with a high compression rate and free from patented algorithms. GnuPG is a complete and free encryption solution to protect confidential communication and digitally stored information. Create a /backup directory in each of your working directories.

backup.cmd

 1:
 2:
 3:
 4:
 5:
 6:
 7:
 8:
 9:
10:
11:
12:
13:
14:
15:
16:
18:
@echo off

rem where the zip file resides
set p=d:\programme\system\

rem where GnuPG resides
set g=c:\Programme\GnuPG\

rem compress files
set z=%date:~6,4%%date:~3,2%%date:~0,2%.zip
%p%zip %cd%\backup\%z% %cd%\*.*

rem sign backup
%g%gpg -b -armor %cd%\backup\%z%

pause
exit


Write the above code in a file, put it somewhere in your path and assign an icon (I am running this from the buttonbar of TotalCommander (R)). One click – and your current directory is being saved as zip file and signed with your key.