• @onelikeandidie
      link
      English
      71 year ago

      I second this, I use syncthing for phone camera to pc and laptop and have never had a problem. It’s almost instant too, it’s kinda nuts that it doesn’t even need Internet to connect between devices. I a world where everything needs an account, and tracking, syncthing is a simple grace I take for granted

    • SibboOP
      link
      fedilink
      English
      21 year ago

      But syncthing deletes images when they are deleted on the phone right? I just tried it, and this is what seems to happen. Is there a way to set it up such that I can delete things on my phone, but they won’t be deleted on the server?

      • @macattack
        link
        8
        edit-2
        1 year ago

        https://docs.syncthing.net/users/config.html

        Adjust the config settings:

        sendreceive The folder is in default mode. Sending local and accepting remote changes. Note that this type was previously called “readwrite” which is deprecated but still accepted in incoming configs.

        sendonly The folder is in “send only” mode – it will not be modified by Syncthing on this device. Note that this type was previously called “readonly” which is deprecated but still accepted in incoming configs.

        receiveonly The folder is in “receive only” mode – it will not propagate changes to other devices.

        receiveencrypted Must be used on untrusted devices, where the data cannot be decrypted because no folder password was entered. See Untrusted (Encrypted) Devices.

      • @onelikeandidie
        link
        English
        21 year ago

        You can make it so that you can have a folder ignored by your syncthing on your computer called something like backup but have your phone still recognise that folder as not ignored. Then when you want to delete a photo in your phone, just move it to that folder, wait until it syncs and then delete it. Your computer should not delete the photo since it ignores any changes in that folder. I’ll test this when I get home if you would like?

        • SibboOP
          link
          fedilink
          English
          21 year ago

          Thanks, but this is too labourous for me. I would like to be able to delete photos directly from my phone without the need to move them first.

          I am now thinking about setting up a cronjob on the server that backs up the pictures every minute or so to a different folder with rsync…

      • @[email protected]
        link
        fedilink
        English
        2
        edit-2
        1 year ago

        Yup, it’s not a good solution.

        Look into Foldersync, PhotoSync, Nextcloud, Immich. They all work how you would expect where photos are backed up, and you can then remove them from your device if needed.