You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform version. In the case of Linux, please enter the Linux distribution you are using.
Debian 12
Steps
I start mega-sync; e.g. mega-sync "/media/Dati/Corsi di Lingue" /bks
If I repeat the same command, mega-sync prints an error message (ok): "Failed to sync folder: Already exists. Active sync same path".
The command echo $? returns 12 and mega-sync without arguments gives STATUS=Syncing, ERROR=NO
Ok; it's not really an error.
If I give a non-existent directory, e.g. mega-sync "/media/Dati/Corsi di Lingue" /bks333 I get the error message "Couldn't find remote folder: /bks333"; echo $? returns 53, while mega-sync without arguments returns an empty string.
Expected behavior
In my example case, I expect that mega-sync without arguments gives ERROR=YES.
Maybe I'm wrong. If so, when shoud I see ERROR=YES?
Actual behavior
The output of echo $? and mega-sync give different iformation.
The text was updated successfully, but these errors were encountered:
lists the syncs and their status. Empty if no syncs are configured. If there are configured sync, they are listed with information about their estatus. One field is ERROR. It would be NO unless that particular sync has experienced a problem.
mega-sync localpath remotepath
Attempts to establish a new sync, and reporting an error in case that failure. The error code will be different depending on the cause of the failure. Possible failure reasons are:
there already exist a sync configured for that localpath
MEGAcmd version
1.7.0
Operating System/Platform
Linux
Platform version. In the case of Linux, please enter the Linux distribution you are using.
Debian 12
Steps
I start mega-sync; e.g.
mega-sync "/media/Dati/Corsi di Lingue" /bks
If I repeat the same command,
mega-sync
prints an error message (ok): "Failed to sync folder: Already exists. Active sync same path".The command
echo $?
returns 12 andmega-sync
without arguments gives STATUS=Syncing, ERROR=NOOk; it's not really an error.
If I give a non-existent directory, e.g.
mega-sync "/media/Dati/Corsi di Lingue" /bks333
I get the error message "Couldn't find remote folder: /bks333";echo $?
returns 53, whilemega-sync
without arguments returns an empty string.Expected behavior
In my example case, I expect that
mega-sync
without arguments gives ERROR=YES.Maybe I'm wrong. If so, when shoud I see ERROR=YES?
Actual behavior
The output of
echo $?
andmega-sync
give different iformation.The text was updated successfully, but these errors were encountered: