# How to sort G-code on SD card based on material (ABS|PLA|SBS)?

I have various G-code files stored at SDCard attached to my Prusa i3 MK2S printer. They are either for ABS, PLA or SBS. The more files I had on the SD card, the more I was running into trouble of finding for which material is which G-code.

To tackle the situation I created folders ABS, PLA and SBS and put new files into those directories.

Is there any better method of finding, backwards from G-code, which material settings were intended to be used?

If so, is there a way to read temperature settings from G-code by Prusa i3 firmware without printing the actual model?

• Not an answer, but sort of related and a good idea: Best Practices - Labeling GCode Files. Use a filename format such as {Machine+State}_{FileName}_{YYYYMMDD-TTTT}_{FileID}.gcode, for example, UM2+PLA8_NozzleMag_20160911-1520_ym9450.gcode – Greenonline Jun 4 '18 at 20:04