{"action":"created","issue":{"url":"https://api.github.com/repos/graysky2/anything-sync-daemon/issues/22","labels_url":"https://api.github.com/repos/graysky2/anything-sync-daemon/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/graysky2/anything-sync-daemon/issues/22/comments","events_url":"https://api.github.com/repos/graysky2/anything-sync-daemon/issues/22/events","html_url":"https://github.com/graysky2/anything-sync-daemon/issues/22","id":68236070,"number":22,"title":"Ignore patterns","user":{"login":"rosshadden","id":669012,"avatar_url":"https://avatars.githubusercontent.com/u/669012?v=3","gravatar_id":"","url":"https://api.github.com/users/rosshadden","html_url":"https://github.com/rosshadden","followers_url":"https://api.github.com/users/rosshadden/followers","following_url":"https://api.github.com/users/rosshadden/following{/other_user}","gists_url":"https://api.github.com/users/rosshadden/gists{/gist_id}","starred_url":"https://api.github.com/users/rosshadden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosshadden/subscriptions","organizations_url":"https://api.github.com/users/rosshadden/orgs","repos_url":"https://api.github.com/users/rosshadden/repos","events_url":"https://api.github.com/users/rosshadden/events{/privacy}","received_events_url":"https://api.github.com/users/rosshadden/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graysky2/anything-sync-daemon/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/graysky2/anything-sync-daemon/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-14T01:43:58Z","updated_at":"2015-04-14T20:38:22Z","closed_at":null,"body":"Is there currently a way to ignore files/folders matching certain patterns?\r\n\r\nThe situation I keep hitting is that I am using `asd` on a project folder in which I am actively doing development.  This is a perfect workflow most of the time, but the one thing a little frustrating is that it keeps syncing vim's `.swp` files.  That is, I open a file in vim, and it creates a `.swp` file for it.  When I close the file, the `.swp` files don't always get deleted, and i have to manually clean them up.\r\n\r\nWhile it may not be the only solution, I think it would be useful to be able to specify a pattern to ignore (in my case `*.swp`).  I'm not sure what \"ignore\" means for `asd` in terms of how it would be implemented, but I think the general idea makes sense."},"comment":{"url":"https://api.github.com/repos/graysky2/anything-sync-daemon/issues/comments/93052066","html_url":"https://github.com/graysky2/anything-sync-daemon/issues/22#issuecomment-93052066","issue_url":"https://api.github.com/repos/graysky2/anything-sync-daemon/issues/22","id":93052066,"user":{"login":"graysky2","id":534822,"avatar_url":"https://avatars.githubusercontent.com/u/534822?v=3","gravatar_id":"","url":"https://api.github.com/users/graysky2","html_url":"https://github.com/graysky2","followers_url":"https://api.github.com/users/graysky2/followers","following_url":"https://api.github.com/users/graysky2/following{/other_user}","gists_url":"https://api.github.com/users/graysky2/gists{/gist_id}","starred_url":"https://api.github.com/users/graysky2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graysky2/subscriptions","organizations_url":"https://api.github.com/users/graysky2/orgs","repos_url":"https://api.github.com/users/graysky2/repos","events_url":"https://api.github.com/users/graysky2/events{/privacy}","received_events_url":"https://api.github.com/users/graysky2/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T20:38:22Z","updated_at":"2015-04-14T20:38:22Z","body":"Yes, I don't want to add the feature to ignore because it complicates things particularly if users want multiple ignores.  Try building with that PKGBUILD I provided above which should automatically make this modification for you when you build asd on Arch.  That way you don't have to mess with remembering to mod the script when the version is bumped... it is highly unlikely that I will change the `no-whole-file` switch that is used for the sync operation so it's probably a safe bet to use to target a sed operation."}}