mirror of
https://github.com/meganz/MEGAcmd
synced 2025-08-22 01:47:24 +00:00
Merge remote-tracking branch 'origin/develop' into task/CMD-197_suppport-setting-max-connections
This commit is contained in:
commit
c4e8c9486f
@ -187,7 +187,7 @@ Verbosity: You can increase the amount of information given by any command by pa
|
||||
* [`masterkey`](contrib/docs/commands/masterkey.md)`pathtosave` Shows your master key.
|
||||
|
||||
### Login / Logout
|
||||
* [`login`](contrib/docs/commands/login.md)`[--auth-code=XXXX] email password | exportedfolderurl#key [--auth-key=XXXX] | passwordprotectedlink [--password=PASSWORD] | session` Logs into a MEGA account or folder link. You can only log into one entity at a time.
|
||||
* [`login`](contrib/docs/commands/login.md)`[--auth-code=XXXX] email password | exportedfolderurl#key [--auth-key=XXXX] [--resume] | passwordprotectedlink [--password=PASSWORD] | session` Logs into a MEGA account, folder link or a previous session. You can only log into one entity at a time.
|
||||
* [`logout`](contrib/docs/commands/logout.md)`[--keep-session]` Logs out
|
||||
* [`whoami`](contrib/docs/commands/whoami.md)`[-l]` Prints info of the user
|
||||
* [`session`](contrib/docs/commands/session.md) Prints (secret) session ID
|
||||
|
@ -1,7 +1,7 @@
|
||||
### login
|
||||
Logs into a MEGA account or folder link. You can only log into one entity at a time.
|
||||
Logs into a MEGA account, folder link or a previous session. You can only log into one entity at a time.
|
||||
|
||||
Usage: `login [--auth-code=XXXX] email password | exportedfolderurl#key [--auth-key=XXXX] | passwordprotectedlink [--password=PASSWORD] | session`
|
||||
Usage: `login [--auth-code=XXXX] email password | exportedfolderurl#key [--auth-key=XXXX] [--resume] | passwordprotectedlink [--password=PASSWORD] | session`
|
||||
<pre>
|
||||
Logging into a MEGA account:
|
||||
You can log into a MEGA account by providing either a session ID or a username and password. A session ID simply identifies a session that you have previously logged in with using a username and password; logging in with a session ID simply resumes that session. If this is your first time logging in, you will need to do so with a username and password.
|
||||
@ -13,6 +13,7 @@ Logging into a MEGA folder link (an exported/public folder):
|
||||
Options:
|
||||
--password=PASSWORD: If the link is a password protected link, then this option can be used to pass in the password for that link.
|
||||
--auth-key=AUTHKEY: If the link is a writable folder link, then this option allows you to log in with write privileges. Without this option, you will log into the link with read access only.
|
||||
--resume: A convenience option to try to resume from cache. When login into a folder, contrary to what occurs with login into a user account, MEGAcmd will not try to load anything from cache: loading everything from scratch. This option changes that. Note, login using a session string, will of course, try to load from cache. This option may be convinient, for instance, if you previously logged out using --keep-session.
|
||||
|
||||
For more information about MEGA folder links, see "mega-export --help".
|
||||
</pre>
|
||||
|
@ -4,5 +4,5 @@ Logs out
|
||||
Usage: `logout [--keep-session]`
|
||||
<pre>
|
||||
Options:
|
||||
--keep-session Keeps the current session.
|
||||
--keep-session Keeps the current session. This will also prevent the deletion of cached data associated with current session.
|
||||
</pre>
|
||||
|
Loading…
x
Reference in New Issue
Block a user