List of exit codes

Hi,
is there a list of exit codes and what they mean?
Thank you

fred

rclone only exits with exit 1 I think - it doesn’t differentiate different kinds of errors.

I’ve seen exit 3 and 6 at least

That is interesting! What were you doing with it at the time?

Grepping the code indicates rclone should only exit with 0, 1 or 2. 2 is from cobra though and not sure exactly when it returns that.