{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/1254","labels_url":"https://api.github.com/repos/syncthing/syncthing/issues/1254/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing/issues/1254/comments","events_url":"https://api.github.com/repos/syncthing/syncthing/issues/1254/events","html_url":"https://github.com/syncthing/syncthing/issues/1254","id":54343752,"number":1254,"title":"Option to do not push delete file","user":{"login":"sphinx02","id":10533724,"avatar_url":"https://avatars.githubusercontent.com/u/10533724?v=3","gravatar_id":"","url":"https://api.github.com/users/sphinx02","html_url":"https://github.com/sphinx02","followers_url":"https://api.github.com/users/sphinx02/followers","following_url":"https://api.github.com/users/sphinx02/following{/other_user}","gists_url":"https://api.github.com/users/sphinx02/gists{/gist_id}","starred_url":"https://api.github.com/users/sphinx02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphinx02/subscriptions","organizations_url":"https://api.github.com/users/sphinx02/orgs","repos_url":"https://api.github.com/users/sphinx02/repos","events_url":"https://api.github.com/users/sphinx02/events{/privacy}","received_events_url":"https://api.github.com/users/sphinx02/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syncthing/syncthing/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-14T16:36:30Z","updated_at":"2015-01-14T17:58:18Z","closed_at":"2015-01-14T17:10:24Z","body":"When e.g. syncing the camera folder of my mobile-phone to my pc it would be nice to have an option (in addition to \"Folder Master\") to stop my mobile-phone from deleteing files on my pc (maybe called \"Do not push deleted files\"). It should be only activateable when \"Folder Master\" is already activated, else it makes no sense, as the deleted file will be synced back immediately. This would result in some kind of one way sync from phone to pc.\r\n\r\nThe target is to\r\n - Sync camera folder from phone to pc (<b>given</b> base functionality of syncthing)\r\n - Delete unneeded subfolders on the pc but do not sync these changes to the mobile-phone (<b>given</b> by activation of \"Folder Master\" on the phone)\r\n - Be able to clean up phones images without delete them on the pc (this is the <b>missing feature</b> which in addition to \"Folder Master\" should be as easy as stopping the phone's syncthing from pushing the file delete to the pc)"},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/comments/69960380","html_url":"https://github.com/syncthing/syncthing/issues/1254#issuecomment-69960380","issue_url":"https://api.github.com/repos/syncthing/syncthing/issues/1254","id":69960380,"user":{"login":"sphinx02","id":10533724,"avatar_url":"https://avatars.githubusercontent.com/u/10533724?v=3","gravatar_id":"","url":"https://api.github.com/users/sphinx02","html_url":"https://github.com/sphinx02","followers_url":"https://api.github.com/users/sphinx02/followers","following_url":"https://api.github.com/users/sphinx02/following{/other_user}","gists_url":"https://api.github.com/users/sphinx02/gists{/gist_id}","starred_url":"https://api.github.com/users/sphinx02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphinx02/subscriptions","organizations_url":"https://api.github.com/users/sphinx02/orgs","repos_url":"https://api.github.com/users/sphinx02/repos","events_url":"https://api.github.com/users/sphinx02/events{/privacy}","received_events_url":"https://api.github.com/users/sphinx02/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T17:58:18Z","updated_at":"2015-01-14T17:58:18Z","body":"Dont think to complicate, if the feature is implemented as I mean, the behaviour is exactly the same as if I am doing the following:\r\n\r\n- Set camera-folder on the phone to \"Folder Master\"\r\n- Let camera sync files to the pc\r\n- Set pc to versioning (keep 1 last file)\r\n- Delete pictures from the phone\r\n- Copy pictures from version folder back to the main-folder on the pc (remember they get not synced back to the phone because on the phone \"Folder Master\" is active)\r\n\r\nIn this scenario we do have the same \"tricky\" problems, but for Camera-Upload of the phone to the pc it would be a very nice feature and you never will have any problems with updated files as usually the phone takes a picture with date-string in its name which is never modified.."}}