Problem removing Labels

73 views
Skip to first unread message

Massimo Scolaro

unread,
Jan 24, 2020, 11:34:45 AM1/24/20
to GAM for G Suite

Hi Jay,

after a migration of emails from exchange systems, where users had created folders under Sent Items, all users now have an empty "_Inbox" label with all the various subfolders nested underneath.

if I run the command:

gam user us...@example.com delete label "_Inbox"

I find myself then all nested like this:

_Inbox / A
_Inbox / B
_Inbox / C
_Inbox / D

so the situation is even more messed up than before

is there a way with GAM to remove the parent label and prevent the nested ones from having the placeholder of the label deleted?

Thanks in advance for what you do for us

Massimo

Jay Lee

unread,
Jan 24, 2020, 11:41:54 AM1/24/20
to google-ap...@googlegroups.com
Can you clarify what you want to happen here? You want to go from:

_Inbox / A
_Inbox / B
_Inbox / C
_Inbox / D

to:

A
B
C
D

or do you just want to delete all the _Inbox / * labels entirely?

--
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/97ccae9f-1374-49f0-adda-f724ad04c0c9%40googlegroups.com.
Message has been deleted

Massimo Scolaro

unread,
Jan 24, 2020, 11:58:25 AM1/24/20
to GAM for G Suite
now is :

_inbox
A
B
C
D

deleting with GAM _inbox I get :

_Inbox / A
_Inbox / B
_Inbox / C
_Inbox / D

 would like instead 

A
B
C
D


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

Jay Lee

unread,
Jan 24, 2020, 12:04:39 PM1/24/20
to google-ap...@googlegroups.com
Try:

gam user test...@example.com update labels search '^_Inbox/(.*)$' replace '%s'

Jay

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.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-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/ebc025a7-bdee-46ab-92b2-626b0094b5af%40googlegroups.com.

Massimo Scolaro

unread,
Jan 24, 2020, 12:09:50 PM1/24/20
to GAM for G Suite



it's working fine

Reply all
Reply to author
Forward
0 new messages