--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e4108011-467e-4da8-9af0-400284819a83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Caleb,Not with standard GAM; with this version: https://github.com/taers232c/GAMADV-X/releasesYou would say: gam user <username> print filelist select anydrivefilename <Folder Name> showownedby any id title filepath > c:\gam\output\output file.csvselect anydrivefilename <Folder Name> - selects the folder to start with (even if <username> doesn't own it)showownedby any - says to show files owned by any oneid title filepath - fields to outputGAMADV-X is a big and powerful, read the Gam*.txt files to see what's involved.Ross
On Thu, Nov 3, 2016 at 1:39 PM, Caleb Spring <csp...@tonesvaisey.com> wrote:
TLDRIs there a command that can list all files under a folder recursively for a user?ExplanationWe had a user move a folder that contain content of around 300 GB from its original shared location to his personal My Drive folder. This folder was synced locally to a Synology NAS drive. We caught this within an hour however the Google task kept running to move the folder and thus the folder was deleted locally when the sync program was sent the command to delete the folder. We reverted everything in Google Drive and users started updating files/folders again under this folder. We thought Synology Cloud Sync software would catch back up however it has been running for days and the data has not caught up yet. It is only at 59 GB of the 300 GB it once was. We have a backup and have restored that to the synology drive however now we need to compare the contents of the synology drive with the content in Google Drive to make sure we are not missing anything.I tried "gam user <username> show filelist name modifieddate > c:\gam\output\outputfile.csv" however the output was to large to manipulate as it is all files owned by that user which is close to 2 TBs of data. Is there a way to start in the folder that was moved and recursively output all the sub folders and files?
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e4108011-467e-4da8-9af0-400284819a83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Caleb,Not with standard GAM; with this version: https://github.com/taers232c/GAMADV-X/releasesYou would say: gam user <username> print filelist select anydrivefilename <Folder Name> showownedby any id title filepath > c:\gam\output\output file.csvselect anydrivefilename <Folder Name> - selects the folder to start with (even if <username> doesn't own it)showownedby any - says to show files owned by any oneid title filepath - fields to outputGAMADV-X is a big and powerful, read the Gam*.txt files to see what's involved.Ross
On Thu, Nov 3, 2016 at 1:39 PM, Caleb Spring <csp...@tonesvaisey.com> wrote:
TLDRIs there a command that can list all files under a folder recursively for a user?ExplanationWe had a user move a folder that contain content of around 300 GB from its original shared location to his personal My Drive folder. This folder was synced locally to a Synology NAS drive. We caught this within an hour however the Google task kept running to move the folder and thus the folder was deleted locally when the sync program was sent the command to delete the folder. We reverted everything in Google Drive and users started updating files/folders again under this folder. We thought Synology Cloud Sync software would catch back up however it has been running for days and the data has not caught up yet. It is only at 59 GB of the 300 GB it once was. We have a backup and have restored that to the synology drive however now we need to compare the contents of the synology drive with the content in Google Drive to make sure we are not missing anything.I tried "gam user <username> show filelist name modifieddate > c:\gam\output\outputfile.csv" however the output was to large to manipulate as it is all files owned by that user which is close to 2 TBs of data. Is there a way to start in the folder that was moved and recursively output all the sub folders and files?
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e4108011-467e-4da8-9af0-400284819a83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
gam <UserTypeEntity> print|show filelist [todrive [<ToDriveAttributes>] [anyowner|(showownedby any|me|others)]
[query <QueryDriveFile>] [fullquery <QueryDriveFile>] [<DriveFileQueryShortcut>] [select <DriveFileEntityListTree>] [depth <Number>]
[filepath] [allfields|<DriveFieldName>*|(fields <DriveFieldNameList>)] (orderby <DriveFileOrderByFieldName> [ascending|descending])* [delimiter <String>]
<DriveFieldName> ::=
appdatacontents|
cancomment|
canreadrevisions|
capabilities|
copyable|
createddate|createdtime|
description|
editable|
explicitlytrashed|
fileextension|
filesize|
foldercolorrgb|
fullfileextension|
hasaugmentedpermissions|
headrevisionid|
iconlink|
id|
isappauthorized|
lastmodifyinguser|
lastmodifyingusername|
lastviewedbyme|lastviewedbymedate|lastviewedbymetime|lastviewedbyuser|
md5|md5checksum|md5sum|
mime|mimetype|
modifiedbyme|modifiedbymedate|modifiedbymetime|modifiedbyuser|
modifieddate|modifiedtime|
name|
originalfilename|
ownedbyme|
ownernames|
owners|
parents|
permissions|
quotabytesused|quotaused|
restricted|
shareable|
shared|
sharedwithmedate|sharedwithmetime|
sharinguser|
size|
spaces|
starred|
teamdriveid|
thumbnaillink|
title|
trashed
trasheddate|trashedtime|
trashinguser|
userpermission|
version|
viewed|
viewerscancopycontent|
webcontentlink|
webviewlink|
writerscanshare
<DriveFieldNameList> ::= "<DriveFieldName>(,<DriveFieldName>)*"
Hi Ross,Is there a way to also add file permissions to fields to output?I'm trying to assist with a SOX report, and I need to take what you have here, but also list out who has access to these files.Thanks,Grant
On Thursday, November 3, 2016 at 2:04:13 PM UTC-7, Ross Scroggs wrote:
Caleb,Not with standard GAM; with this version: https://github.com/taers232c/GAMADV-X/releasesYou would say: gam user <username> print filelist select anydrivefilename <Folder Name> showownedby any id title filepath > c:\gam\output\output file.csvselect anydrivefilename <Folder Name> - selects the folder to start with (even if <username> doesn't own it)showownedby any - says to show files owned by any oneid title filepath - fields to outputGAMADV-X is a big and powerful, read the Gam*.txt files to see what's involved.Ross
On Thu, Nov 3, 2016 at 1:39 PM, Caleb Spring <csp...@tonesvaisey.com> wrote:
TLDRIs there a command that can list all files under a folder recursively for a user?ExplanationWe had a user move a folder that contain content of around 300 GB from its original shared location to his personal My Drive folder. This folder was synced locally to a Synology NAS drive. We caught this within an hour however the Google task kept running to move the folder and thus the folder was deleted locally when the sync program was sent the command to delete the folder. We reverted everything in Google Drive and users started updating files/folders again under this folder. We thought Synology Cloud Sync software would catch back up however it has been running for days and the data has not caught up yet. It is only at 59 GB of the 300 GB it once was. We have a backup and have restored that to the synology drive however now we need to compare the contents of the synology drive with the content in Google Drive to make sure we are not missing anything.I tried "gam user <username> show filelist name modifieddate > c:\gam\output\outputfile.csv" however the output was to large to manipulate as it is all files owned by that user which is close to 2 TBs of data. Is there a way to start in the folder that was moved and recursively output all the sub folders and files?
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e4108011-467e-4da8-9af0-400284819a83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e24cb042-5582-4962-8d45-de06adb477ec%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e4108011-467e-4da8-9af0-400284819a83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e24cb042-5582-4962-8d45-de06adb477ec%40googlegroups.com.
gam user folde...@domain.com show filelist select id 999jnewfiM5G8VlBqNDlsSmdDU2c fields id,title,permissions
Ross
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e4108011-467e-4da8-9af0-400284819a83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e24cb042-5582-4962-8d45-de06adb477ec%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/f10bec60-e4cd-4a3b-8e7c-779b5ef75b85%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e4108011-467e-4da8-9af0-400284819a83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e24cb042-5582-4962-8d45-de06adb477ec%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/f10bec60-e4cd-4a3b-8e7c-779b5ef75b85%40googlegroups.com.
gam user folde...@domain.com show filelist select id 999jnewfiM5G8VlBqNDlsSmdDU2c fields id,title,permissions showownedby any
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/9e6cce3d-07d7-4ab8-95be-515ff37d7503%40googlegroups.com.
Grant,
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e22c1ed7-6626-4747-8c3d-81d1ff4adf5d%40googlegroups.com.