{"action":"created","issue":{"url":"https://api.github.com/repos/vitalif/grive2/issues/73","repository_url":"https://api.github.com/repos/vitalif/grive2","labels_url":"https://api.github.com/repos/vitalif/grive2/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/vitalif/grive2/issues/73/comments","events_url":"https://api.github.com/repos/vitalif/grive2/issues/73/events","html_url":"https://github.com/vitalif/grive2/issues/73","id":154202619,"number":73,"title":"Question about -s option and selective sync","user":{"login":"j0nn0","id":3277568,"avatar_url":"https://avatars.githubusercontent.com/u/3277568?v=3","gravatar_id":"","url":"https://api.github.com/users/j0nn0","html_url":"https://github.com/j0nn0","followers_url":"https://api.github.com/users/j0nn0/followers","following_url":"https://api.github.com/users/j0nn0/following{/other_user}","gists_url":"https://api.github.com/users/j0nn0/gists{/gist_id}","starred_url":"https://api.github.com/users/j0nn0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0nn0/subscriptions","organizations_url":"https://api.github.com/users/j0nn0/orgs","repos_url":"https://api.github.com/users/j0nn0/repos","events_url":"https://api.github.com/users/j0nn0/events{/privacy}","received_events_url":"https://api.github.com/users/j0nn0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-11T09:48:26Z","updated_at":"2016-05-11T12:56:34Z","closed_at":null,"body":"Is it possible to use the -s switch with multiple folders? So for example I have a folder structure in Dropbox:\r\nPhotos - Personal Old\r\n            - Personal Current\r\n            - Work 2014\r\n            - Work 2015\r\n            - Work 2016\r\nIf I only want to sync \"Photos/Personal Current\" and \"Photos/Work 2016\", and ignore the rest, would I be able to do this in one command line?\r\n\r\nHave you given any further thought to the idea of having an 'include' or 'exclude' plaintext file that would allow one to manually manage selective sync? I find Perl filename handling a bit difficult, especially when it comes to multiple folders and names with spaces - single quotes, double quotes, escapes... how would I do the above, for example?\r\n\r\nThanks\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vitalif/grive2/issues/comments/218450798","html_url":"https://github.com/vitalif/grive2/issues/73#issuecomment-218450798","issue_url":"https://api.github.com/repos/vitalif/grive2/issues/73","id":218450798,"user":{"login":"vitalif","id":945339,"avatar_url":"https://avatars.githubusercontent.com/u/945339?v=3","gravatar_id":"","url":"https://api.github.com/users/vitalif","html_url":"https://github.com/vitalif","followers_url":"https://api.github.com/users/vitalif/followers","following_url":"https://api.github.com/users/vitalif/following{/other_user}","gists_url":"https://api.github.com/users/vitalif/gists{/gist_id}","starred_url":"https://api.github.com/users/vitalif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitalif/subscriptions","organizations_url":"https://api.github.com/users/vitalif/orgs","repos_url":"https://api.github.com/users/vitalif/repos","events_url":"https://api.github.com/users/vitalif/events{/privacy}","received_events_url":"https://api.github.com/users/vitalif/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T12:56:34Z","updated_at":"2016-05-11T12:56:34Z","body":"No, -s currently does not support multiple values.\r\nIt's not that hard to convert .include / .exclude to regexps so it's possible to implement it... for example 2 subdirs correspond to `grive --ignore '^(?!Photos(/Work 2016|/Personal Current|$))'`"}}