Quote:
Quote:
You do need however the .net framework from microsoft. According to MS Win ME is no longer supported so i'd say forget about 98 too. For win2k you also need the service pack 2 but you should have that one anyways
|
The desperate coukd try Mono... but surely, using the C# Microsoft framework for this is akin to using mallets to squat houseflys...?
|
The desperate can pass the following script in Dom2 --postexec option ;-) :
Code:
gawk -f save_script.awk
where save_script.awk contains:
Code:
BEGIN {
timestamp_file = "Last-total-save-timestamp.txt";
t = systime();
stamp = strftime("%Y%m%d-%H%M%S",t);
stamp2 = strftime("%Y-%m-%d",t);
saveAll = 1;
if ((getline Last_stamp < timestamp_file) > 0)
{
if (stamp2 == Last_stamp)
saveAll = 0;
}
close(timestamp_file);
if (saveAll)
{
cmd = sprintf("zip -r save-all-%s * [email protected]",stamp);
print stamp2 > timestamp_file;
}
else
cmd = sprintf("zip -r -t %s save-%s * [email protected]",Last_stamp,stamp);
system(cmd);
}