diff --git a/src/GamCommands.txt b/src/GamCommands.txt index ae86dd2c..af15a9eb 100644 --- a/src/GamCommands.txt +++ b/src/GamCommands.txt @@ -327,6 +327,7 @@ If an item contains spaces, it should be surrounded by ". description| editable| explicitlytrashed| + driveid| fileextension| filesize| foldercolorrgb| diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 5674af69..3a6a73d6 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -3273,7 +3273,7 @@ def printDriveFileList(users): 'orderby', ', '.join(sorted(DRIVEFILE_ORDERBY_CHOICES_MAP)), fieldName) elif myarg == 'query': - query += f' and {sys.argv[i+1]}' + query += f' and ({sys.argv[i+1]})' i += 2 elif myarg == 'fullquery': query = sys.argv[i + 1] diff --git a/src/gam/var.py b/src/gam/var.py index 1fc6c809..debc2d2f 100644 --- a/src/gam/var.py +++ b/src/gam/var.py @@ -458,6 +458,7 @@ DRIVEFILE_FIELDS_CHOICES_MAP = { 'createddate': 'createdDate', 'createdtime': 'createdDate', 'description': 'description', + 'driveid': 'driveId', 'editable': 'editable', 'explicitlytrashed': 'explicitlyTrashed', 'fileextension': 'fileExtension',