I have an application that needs to be able to walk through all the files on dropbox to gather the file meta data related to the files.
I currently accomplish this in Python by walking down the drive/path and reading the file labels for the meta data. the code I use is:
- target = input("Enter the Directory you want, d://dir:=")
af.write('Scanning Directory:=' + str(target) + '\n')
while len(target) > 0:
- for r, d, f in os.walk(target):
for fi in f:
qfname = os.path.join(r, fi)
fil = len(fi)
fn = fi.rfind('.')
fidl = fil - fn
I have no need to read the actual file data.
Any advice would be appreciated.
Stephen Yuenger
Independent Consultant
772-418-0150