Last active
July 26, 2021 14:33
-
-
Save Zibri/d1d17e7e4ee3651e96566303779f53d5 to your computer and use it in GitHub Desktop.
Refresh MEGA.NZ accounts from expiring.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# install megacmd from mega.nz first. | |
# put your usernames and passwords | |
# run this once a month :D | |
while read a b;do | |
mega-login &>/dev/null $a $b && mega-logout &>/dev/null && echo refreshed $a || echo error $a | |
done <<EOF | |
email1 password1 | |
email2 password2 | |
email3 password3 | |
email3 password3 | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment