This email and any files transmitted with it are intended solely foruse by the recipient(s) to whom it is addressed and may containconfidential information. If you have received this email in error please--notify the sender immediately and permanently delete this email and/or any files attached to it from your computer
Oh yea...I can't purchase on behalf either
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/cf81fd67-0d93-4245-81ae-3628472b7763%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Bent,Do the following for some user and an audio file: gam user us...@domain.com show fileinfo <DriveFileIDhere>Grab the mimeType and extend the query:gam ou "/ExamWriters/English/Chem" delete drivefile "query:mimeType !='application.vnd.google-apps.folder' and mimeType !='put audiomimetypehere'" purgeRoss
On Wed, Dec 6, 2017 at 7:57 AM, Bent Lee <bent...@wolfapps.ca> wrote:
Here is my situationI run a lot of exam accounts. These accounts have bookmarks that are shared with them to drive files belonging to another user.The student logs on and goes to bookmarks that are pushed. These files are audio files.The student then opens google docs and creates a doc and shares that with the teacher. . After the exam we lock the account. We retain these docs for 30 days.After 30 days I run a gam command that deletes those docs.My command is as followsgam ou "/ExamWriters/English/Chem" delete drivefile "query:mimeType !='application.vnd.google-apps.folder'" purgeThe issue is it fails because there are bookmarks that show under the shared with me. The gam command simple stops.Thanks for your help
This email and any files transmitted with it are intended solely foruse by the recipient(s) to whom it is addressed and may containconfidential information. If you have received this email in error pleasenotify the sender immediately and permanently delete this email and/or any files attached to it from your computer
Oh yea...I can't purchase on behalf either
--
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/cf81fd67-0d93-4245-81ae-3628472b7763%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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/cf81fd67-0d93-4245-81ae-3628472b7763%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This email and any files transmitted with it are intended solely foruse by the recipient(s) to whom it is addressed and may containconfidential information. If you have received this email in error please--notify the sender immediately and permanently delete this email and/or any files attached to it from your computer
Oh yea...I can't purchase on behalf either
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/3094ec3b-b199-45b7-8830-8652d87bb7cc%40googlegroups.com.
This email and any files transmitted with it are intended solely foruse by the recipient(s) to whom it is addressed and may containconfidential information. If you have received this email in error please--notify the sender immediately and permanently delete this email and/or any files attached to it from your computer
Oh yea...I can't purchase on behalf either
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/f2fcc3a0-4462-4d5a-8ae4-f0fe61455f7f%40googlegroups.com.
Bent,Did you get the delete to work?Ross
On Thu, Dec 7, 2017 at 9:29 AM, Bent Lee <bent...@wolfapps.ca> wrote:
Ross ..I just wanted to thank you for all your help. I hope you are having a great week.Bent
On Wednesday, December 6, 2017 at 8:57:58 AM UTC-7, Bent Lee wrote:Here is my situationI run a lot of exam accounts. These accounts have bookmarks that are shared with them to drive files belonging to another user.The student logs on and goes to bookmarks that are pushed. These files are audio files.The student then opens google docs and creates a doc and shares that with the teacher. . After the exam we lock the account. We retain these docs for 30 days.After 30 days I run a gam command that deletes those docs.My command is as followsgam ou "/ExamWriters/English/Chem" delete drivefile "query:mimeType !='application.vnd.google-apps.folder'" purgeThe issue is it fails because there are bookmarks that show under the shared with me. The gam command simple stops.Thanks for your help
This email and any files transmitted with it are intended solely foruse by the recipient(s) to whom it is addressed and may containconfidential information. If you have received this email in error please--notify the sender immediately and permanently delete this email and/or any files attached to it from your computer
Oh yea...I can't purchase on behalf either
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-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/f2fcc3a0-4462-4d5a-8ae4-f0fe61455f7f%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/HFoPJb71hJE/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAJkvRS_%2BEQm%3DPVf_k7vFZYa42KVw%3Dqs4sXVMsBofhkx3kajdhA%40mail.gmail.com.
gam csv testfilelisttestaccounts3.csv gam user ~Owner delete drivefile ~id purge
Thank you ever so much for any help you can give me.
Bent
This email and any files transmitted with it are intended solely foruse by the recipient(s) to whom it is addressed and may containconfidential information. If you have received this email in error pleasenotify the sender immediately and permanently delete this email and/or any files attached to it from your computer
Oh yea...I can't purchase on behalf either
--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/HFoPJb71hJE/unsubscribe.
To unsubscribe from this group and all its topics, 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/cf81fd67-0d93-4245-81ae-3628472b7763%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
gam user us...@domain.com print filelist id > files.csv
gam csv files.csv gam user "~Owner" delete drivefile "~id" purge
Be sure that this is what you want to do.
Ross
--
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-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/12f08edf-15be-4c6b-95d9-27fd7a6ddf29o%40googlegroups.com.
Anthony,gam user us...@domain.com print filelist id > files.csv
gam csv files.csv gam user "~Owner" delete drivefile "~id" purge
Be sure that this is what you want to do.
Ross
On Wed, Aug 5, 2020 at 2:39 PM anthony jimenez <anthony...@gmail.com> wrote:
ok so what if i wanted to just delete all of a users content but keep the user?--
On Wednesday, December 6, 2017 at 7:57:58 AM UTC-8, Bent Lee wrote:Here is my situationI run a lot of exam accounts. These accounts have bookmarks that are shared with them to drive files belonging to another user.The student logs on and goes to bookmarks that are pushed. These files are audio files.The student then opens google docs and creates a doc and shares that with the teacher. . After the exam we lock the account. We retain these docs for 30 days.After 30 days I run a gam command that deletes those docs.My command is as followsgam ou "/ExamWriters/English/Chem" delete drivefile "query:mimeType !='application.vnd.google-apps.folder'" purgeThe issue is it fails because there are bookmarks that show under the shared with me. The gam command simple stops.Thanks for your help
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/12f08edf-15be-4c6b-95d9-27fd7a6ddf29o%40googlegroups.com.
--Ross Scroggs
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/3094ec3b-b199-45b7-8830-8652d87bb7cc%40googlegroups.com.