kicad 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #------------------------------------------------------------------------------
  2. # $File: kicad,v 1.2 2020/05/06 14:03:28 christos Exp $
  3. # kicad: file(1) magic for KiCad files
  4. #
  5. # See
  6. #
  7. # http://kicad-pcb.org
  8. #
  9. # KiCad Schematic Document
  10. 0 string (kicad_sch
  11. >10 byte 0x20 KiCad Schematic Document
  12. !:ext kicad_sch/kicad_sch-bak
  13. >>11 string (version
  14. >>>19 byte 0x20
  15. >>>>20 regex [0-9.]+ (Version %s)
  16. # KiCad Schematic Document (Legacy)
  17. 0 string EESchema
  18. >8 byte 0x20
  19. >>9 string Schematic
  20. >>>18 byte 0x20 KiCad Schematic Document (Legacy)
  21. !:ext sch/bak
  22. >>>>24 string Version
  23. >>>>>31 byte 0x20
  24. >>>>>>32 string x (Version %s)
  25. # KiCad Symbol Library
  26. 0 string (kicad_symbol_lib
  27. >17 byte 0x20 KiCad Symbol Library
  28. !:ext kicad_sym
  29. >>18 string (version
  30. >>>26 byte 0x20
  31. >>>>27 regex [0-9.]+ (Version %s)
  32. # KiCad Symbol Library (Legacy)
  33. 0 string EESchema-LIBRARY
  34. >16 byte 0x20 KiCad Symbol Library (Legacy)
  35. !:ext lib
  36. >>17 string Version
  37. >>>24 byte 0x20
  38. >>>>25 string x (Version %s)
  39. # KiCad Symbol Library Documentation (Legacy)
  40. 0 string EESchema-DOCLIB
  41. >15 byte 0x20 KiCad Symbol Library Documentation (Legacy)
  42. !:ext dcm
  43. >>17 string Version
  44. >>>24 byte 0x20
  45. >>>>25 string x (Version %s)
  46. # KiCad Board Layout
  47. 0 string (kicad_pcb
  48. >10 byte 0x20 KiCad Board Layout
  49. !:ext kicad_pcb/kicad_pcb-bak
  50. >>11 string (version
  51. >>>19 byte 0x20
  52. >>>>20 regex [0-9.]+ (Version %s)
  53. # KiCad Footprint
  54. 0 string (module
  55. >7 byte 0x20 KiCad Footprint
  56. !:ext kicad_mod
  57. # KiCad Footprint (Legacy)
  58. 0 string PCBNEW-LibModule-V1 KiCad Footprint (Legacy)
  59. !:ext mod
  60. # KiCad Netlist
  61. 0 string (export
  62. >7 byte 0x20 KiCad Netlist
  63. !:ext net
  64. # KiCad Symbol Library Table
  65. 0 string (sym_lib_table
  66. >14 byte 0xA KiCad Symbol Library Table
  67. >14 byte 0xD KiCad Symbol Library Table
  68. >14 byte 0x20 KiCad Symbol Library Table
  69. # KiCad Footprint Library Table
  70. 0 string (fp_lib_table
  71. >13 byte 0xA KiCad Footprint Library Table
  72. >13 byte 0xD KiCad Footprint Library Table
  73. >13 byte 0x20 KiCad Footprint Library Table