Created
January 6, 2016 01:12
-
-
Save larssono/16ae95c4705aee8408a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ids = [i['file.id'] for i in syn.chunkedQuery('select id from file where parentId=="syn5521815"')] | |
for i in ids: | |
e = syn.get(i, downloadFile=False) | |
e.properties.fileNameOverride = e.name | |
syn.store(e, forceVersion=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment