ok so changing the line to the below has worked
sprintf(line, "%10ld %6s %7s", now.unixtime(), temp, press1);
I have now tried to see the filesize using
File Nautilus; // The file with your data in it.
uint32_t fileSize = Nautilus.size(); // The total file size.
Nautilus.seek(fileSize - 52);
// Serial.print(Nautilus.size());
// Serial.println("---");
I have tried a few different combinations of the above however none of them have producing anything only "0"
SD card is ready to use.
1531947710 21.57 56.33
1531947710
0
---
---