Warning: session_start(): open(/var/lib/php/sessions/sess_69rf8df347i88mmc47mcbo24kh, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
sS progID = #1007510;
p {
Pattern pat = Pattern.compile("^(.*)\\.backup(20\\d\\d)(\\d\\d)(\\d\\d)-(\\d\\d)$");
for (File f : listFilesNotDirs(programDir(progID))) {
S s = f.getName();
Matcher matcher = pat.matcher(s);
continue unless matcher.find();
print("Found backup: " + sfu(matcherGroups(matcher)));
S originalName = matcher.group(1);
int year = matcherInt(matcher, 2);
int month = matcherInt(matcher, 3);
int day = matcherInt(matcher, 4);
int hour = matcherInt(matcher, 5);
long time = timestampFromYMDH(year, month, day, hour);
print("Age: " + (now()-time)/1000/60/60/24) + " days");
}
}