save_period
save_period(snapshots_path, cmd, savet);
static void save_period(const char *snapshots_path, const char *cmd,