Skip to content

Instantly share code, notes, and snippets.

Last active July 26, 2021 14:33
What would you like to do?
Refresh MEGA.NZ accounts from expiring.
# install megacmd from 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment