a.remove('unknown')
print('where attribute is one of:', ' '.join(a))
sys.exit(1)
path = sys.argv[1]
attribute = sys.argv[2]
print('Files with %s attribute in %s:' % (attribute, path))
for filename in os.listdir(path):
    fullname = os.path.join(path, filename)
if attribute in ntfs_attr(fullname):
    print(fullname)
if __name__ == '__main__':
    main()
How to check for hidden files & folders on NTFS partition using python on linux?