lmco / laikaboss

Laika BOSS: Object Scanning System
Apache License 2.0
732 stars 155 forks source link

How to get only file type #83

Closed jh1113 closed 2 years ago

jh1113 commented 2 years ago

I am using ubuntu18.04 LTS

Among the many functions of laikaboss, we only want the file name, file type as the result.

Is there any way?

example)

laika.py test.txt

result { "source": "CLI", "scan_result": [ { "objectHash": "96ac2cfac312d8dabf974187ed381e37", "uuid": "6a9344d3-c1ee-457c-b512-04f04bce3994", "fileType": [], "filename": "test.txt", }