#Thanks to DareTheHair from talk.maemo.org for this snippet that recursively builds the file list for root, dirs, files in os.walk(dir_name):
#Thanks to DareTheHair from talk.maemo.org for this snippet that recursively builds the file list . for root, dirs, files in os.walk(dir_name): real_dir=...