(
(
(
if number of files whose
(
name of it ends with ".log"
)
of it > 0 then sum of sizes of files whose
(
name of it ends with ".log"
)
of it else 0
)
+
(
if number of files whose
(
name of it ends with ".log"
)
of folder "__Global\Logs" of it > 0 then sum of sizes of files whose
(
name of it ends with ".log"
)
of folder "__Global\Logs" of it else 0
)
+
(
if number of files whose
(
name of it ends with "History.db"
)
of folder "__Global" of it > 0 then sum of sizes of files whose
(
name of it ends with "History.db"
)
of folder "__Global" of it else 0
)
)
of
(
parent folder of client folder of current site
)
)
/
(
1024 * 1024
)
(( (if number of files whose(name of it ends with ".log") of it > 0 then sum of sizes of files whose(name of it ends with ".log") of it else 0) + (if number of files whose(name of it ends with ".log") of folder "__Global\Logs" of it > 0 then sum of sizes of files whose(name of it ends with ".log") of folder "__Global\Logs" of it else 0) + (if number of files whose(name of it ends with "History.db") of folder "__Global" of it > 0 then sum of sizes of files whose(name of it ends with "History.db") of folder "__Global" of it else 0) ) of (parent folder of client folder of current site)) / (1024 * 1024)