this post was submitted on 04 Nov 2023
68 points (100.0% liked)

Android

27862 readers
240 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

[email protected]


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (3 children)

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 8 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 2 points 1 year ago (1 children)

Yeah, I have the folder on the phone on sendonly. But this sends also deletions to the server, apparently.

[–] [email protected] 9 points 1 year ago

Ignore delete is a folder feature that you can set on the receiving folder.

[–] onelikeandidie 2 points 1 year ago (1 children)

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?

[–] [email protected] 2 points 1 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] 2 points 1 year ago* (last edited 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.