Moving labels & nesting

392 views
Skip to first unread message

DTodorov

unread,
Aug 3, 2020, 7:42:42 AM8/3/20
to GAM for G Suite
Hi all,

Just wanted to see if this is possible, been looking around for documentation / discussion but no luck.

Lets say we've got a user that has multiple labels. 
  • Label1
  • Label2
  • Label3 
  • ....etc....
Is it possible to nest these labels with GAM under a new one?
  • New Label
    • Label1
    • Label2
    • Label3
Thanks

Jay Lee

unread,
Aug 3, 2020, 7:59:11 AM8/3/20
to google-ap...@googlegroups.com
No, GAM isn't a migration tool. GYB will do this though:


Jay

--
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/64f6e241-f429-4470-9d0f-7eee6e6ee8c0n%40googlegroups.com.

DTodorov

unread,
Aug 3, 2020, 8:04:50 AM8/3/20
to GAM for G Suite
Thanks  for the reply Jay.

I was not asking for migration tho. Just wanted to see if I can move/rename already existing labels under a parent/nested label. 
(which you can do from the gmail gui but not sure if implemented at all in gam)

Thanks for your time

Ross Scroggs

unread,
Aug 3, 2020, 9:53:19 AM8/3/20
to google-ap...@googlegroups.com
You can do this with Advanced GAM (https://github.com/taers232c/GAMADV-XTD3)

Change labels, omit doit to get a count of the messages that will be modified.

gam user us...@domain.com modify messages query "label:Label1" addlabel "New Label/Label1" removelabel "Label1" doit
gam user us...@domain.com modify messages query "label:Label2" addlabel "New Label/Label2" removelabel "Label2" doit
...

Delete old labels.
gam user us...@domain.com delete label "Label1"
gam user us...@domain.com delete label "Label2"
...

Test

Ross


Patrick Haley

unread,
Nov 16, 2022, 4:55:40 PM11/16/22
to GAM for Google Workspace
Ross, could you export a csv via this method then update labels from the csv? For example, if the user has...

Label1
Label2
   Label2.1
Label3

Is it possible to add a parent label to them? e.g.

NewLabel
   Label1
   Label2
      Label2.1 
   Label3

Ross Scroggs

unread,
Nov 16, 2022, 5:31:45 PM11/16/22
to google-ap...@googlegroups.com
Patrick,

You should be able to do this; send me a Meet/Zoom invitation and we'll figure it out.

Ross

You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages