mirror of
https://github.com/anasty17/mirror-leech-telegram-bot.git
synced 2025-01-08 12:07:33 +08:00
My first Commit after repo public 😁
This commit is contained in:
parent
2e504d0420
commit
45829030d3
@ -354,17 +354,23 @@ python3 gen_sa_accounts.py --quick-setup 1 --new-only
|
||||
A folder named accounts will be created which will contain keys for the Service Accounts.
|
||||
|
||||
### a) Add Service Accounts to Google Group
|
||||
*For Windows use PowerShell*
|
||||
- Mount accounts folder
|
||||
```
|
||||
cd accounts
|
||||
```
|
||||
- Grab emails form all accounts to emails.txt file that would be created in accounts folder
|
||||
- `For Windows`
|
||||
```
|
||||
$emails = Get-ChildItem .\**.json |Get-Content -Raw |ConvertFrom-Json |Select -ExpandProperty client_email >>emails.txt
|
||||
```
|
||||
- `For Linux / MacOs`
|
||||
```
|
||||
grep -oPh '"client_email": "\K[^"]+' *.json > emails.txt
|
||||
```
|
||||
- Unmount acounts folder
|
||||
```
|
||||
cd -
|
||||
cd ..
|
||||
```
|
||||
Then add emails from emails.txt to Google Group, after that add this Google Group to your Shared Drive and promote it to manager.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user