After dowloading the
.DS_Store file from this url:
Code:
http://out5.hex-rays.com/.DS_Store
You can extract the path by using the python script below:
Code:
'''SCT'''
import ds_store
def extract_paths(ds_store_path):
paths = []
with ds_store.DSStore.open(ds_store_path, 'r') as ds:
for record in ds:
paths.append(record.filename)
return paths
# Usage
ds_store_path = './Untitled.DS_Store'
extracted_paths = extract_paths(ds_store_path)
for path in extracted_paths:
print(path)
You need 2 python packages to install in you environment