0

Is there a parameter to ls to force it output data in JSON format?

ls -json

[
{"name":"file1", "date":"2014-02-13 15:22:47.004854200 +0700", "size":132017}, 
{"name":"file2", "date":"2014-02-13 15:09:21.004826640 +0700", "size":372323}
]
exebook
  • 32,014
  • 33
  • 141
  • 226

0 Answers0