Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
gmvault sync -t custom -g 'in:labelname' not working #35
I'm running the latest version of the gmvault (installed via the windows installer, downloaded today) on Win7. When I try backing up a specific label then nothing gets downloaded:
Note that searching web gmail for in:labelname returns plenty of results. Running gmvault sync email@example.com works fine.
Am I doing something wrong or is this an actual issue?
@hrafnkell I have tested it on Mac OSX and it works.
python gmv_cmd.py sync --type custom -g 'in:perso' --debug firstname.lastname@example.org
Use gmvault-db located in /Users/gaubert/gmvault-db.
Activate debugging information.
Authentication performed with Gmail XOAuth token.
no ENV variable $GMVAULT_DIR defined. Set by default $GMVAULT_DIR to $HOME/.gmvault (/Users/xxxxx/.gmvault)
Successfully read oauth credentials.
Connect to Gmail server.
Process imap id 13
I am not a guru in batch script and the " are eaten by batch while ' is not. I will try to fix it but I need to find a common behaviour between Unixes (where " and ' special characters) and Windows (only " is a special character)
@hrafnkell I have made a fix for supporting gmail or imap custom request under windows with " or ' quotes.
@hrafnkell You are welcome. On Windows, it will always work with double quotes as with single quotes it will only work under certain conditions. I don't want to do anything fancy to change that as it would break the usual behaviour.