-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
manage_sync not working #6
Comments
Ahh right - thanks for catching this. This image has grown legs over the past 3 years and I believe the manage sync scripts were when this thing was running single user. I like number 3 to be honest. I'm now away on a trip to a conference in Philadelphia for the next week - I will take a peek at this when I return! |
Sounds great, hope you have a good week at the conference. Here are my notes on it for when you get back. Also for the ignore I have tested it and both seem to work very well, so the user would enter |
Hello, I am keen to start using this too! Is it still maintained? |
New Issue since it is a new topic hope that's ok.
I did have this issue before you switched the user account info so this might not be related to making that change.
Whenever I try to run manage_sync I get this error:
"Invalid number of arguments for manage_selective_sync
insync-headless manage_selective_sync EMAIL
Manage selective sync settings of account through a curses interface"
So thinking I needed to specify the email address after.
So I tried manage_sync [email protected]
and I get the same error.
It looks like the script is calling a username variable that is no longer used with the multi user.
So not sure if you have a good idea on how to do the multiuser
I have a couple of thoughts
1.) enter: manage_sync {1,2,3} - They would enter either 1-3 and then the script would look at the number entered and run the command pulling in that username variable.
2.) enter manage_sync - it will then list the Username variable values and then they would select 1,2,3 and then it would continue. This could be combined with above, they could enter what number they want when running, if they dont enter a number then it would present them with the list.
3.) enter manage_sync EMAIL - They enter the email address they want to modify
This one could simply be to update the command to:
TERM=xterm sudo -u insync exec /usr/bin/insync-headless manage_selective_sync $1
Not sure if you think one is easier than the other for the user, but as it stands these scripts(ignore & sync) dont work
Also when updating the scripts need to switch to the insync user when running the command
I believe I could write up the script combining option 1 & 2 above, I believe I already listed how to make opt 3 work.
Just let me know.
Thanks
The text was updated successfully, but these errors were encountered: