# Deleted camera roll photos are synced as empty folders

**URL:** https://forum.syncthing.net/t/deleted-camera-roll-photos-are-synced-as-empty-folders/10028
**Category:** Support
**Created:** [June 27, 2017, 4:44pm UTC](https://forum.syncthing.net/t/deleted-camera-roll-photos-are-synced-as-empty-folders/10028 "2017-06-27T16:44:13Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![lawfulintercept](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/l/5daacb/32.png) [@lawfulintercept](https://forum.syncthing.net/u/lawfulintercept)
#### Post date: [June 27, 2017, 4:44pm UTC](https://forum.syncthing.net/t/deleted-camera-roll-photos-are-synced-as-empty-folders/10028/1 "2017-06-27T16:44:13Z")

</div>

I’m running into a weird issue when syncing from my Android phone’s camera roll to my laptop (Ubuntu 16.0.4 LTS)

Basically whenever I remove photos off my phone by deleting them in the synced directory on my laptop, they still appear on my phone as empty folders with the names of the original files, which are then synced back to my laptop. BTsync and other methods of file sync don’t seem to create/sync the empty directories, but SyncThing does.

The same thing happens when I sync to my windows 7 machine. Is there maybe some kind of metadata Syncthing is sending that would be confusing the Android file manager?

 ![](https://forum-uploads.syncthingcdn.net/original/2X/b/b70e8cf3399de4d3a0cf25b67885a929840a81e8.png)

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [June 27, 2017, 7:22pm UTC](https://forum.syncthing.net/t/deleted-camera-roll-photos-are-synced-as-empty-folders/10028/2 "2017-06-27T19:22:16Z")

</div>

I suspect the other way around, some Android app doing some funny business.

---

<div class="post-metadata">

### Author: ![lawfulintercept](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/l/5daacb/32.png) [@lawfulintercept](https://forum.syncthing.net/u/lawfulintercept)
#### Post date: [June 27, 2017, 7:34pm UTC](https://forum.syncthing.net/t/deleted-camera-roll-photos-are-synced-as-empty-folders/10028/3 "2017-06-27T19:34:38Z")

</div>

Hmmm… the only other Android app involved here is the default Google Photos (gallery) app, which stores/displays the photos on the device. I have cloud upload deactivated though, natch.

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [June 27, 2017, 7:36pm UTC](https://forum.syncthing.net/t/deleted-camera-roll-photos-are-synced-as-empty-folders/10028/4 "2017-06-27T19:36:41Z")

</div>

This typically gets reported about photos on Android:

> [@Deletions not propagated successfully](https://forum.syncthing.net/t/deletions-not-propagated-successfully/8450):
>
> I have a problem with deletions, which are often not propagated successfully. This seems to be particularly true of photos, which never propagate a deletion. When a file is deleted on one device, the file is initially deleted from other synced devices, but then reappears moments later as a zero length file. This file is then propagated back to the original device. Once this happens, these 0 length files are impossible to delete without removing the sync folder concerned from all devices, and re…

> [@Files and directories get deleted and then added](https://forum.syncthing.net/t/files-and-directories-get-deleted-and-then-added/2395):
>
> I have a directory that is shared between several (Linux) computers and two Android devices. It has about 6000 files, 3000 directories, and 7.4 GB of size. For many files, I see a pattern of them being deleting and then, shortly after, added back again. This only happens when one (or both) of the Androids have syncthing running. Never otherwise. So I thinnk the culprits are the Androids (one running 4.4.1 and the other 4.1.1). For instance, this happened to a file called “A generalized, likelih…

I’ve never heard it reproduced without involving Android.

---

<div class="post-metadata">

### Author: ![lawfulintercept](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/l/5daacb/32.png) [@lawfulintercept](https://forum.syncthing.net/u/lawfulintercept)
#### Post date: [June 27, 2017, 7:54pm UTC](https://forum.syncthing.net/t/deleted-camera-roll-photos-are-synced-as-empty-folders/10028/5 "2017-06-27T19:54:49Z")

</div>

Oh wow, is there a workaround for this? Maybe you could avoid the folders if you just tell it to not sync subdirectories of the sync folder. @Nutomic are you aware of this?

---

<div class="post-metadata">

### Author: ![kluppy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/kluppy/32/4197_2.png) [@kluppy](https://forum.syncthing.net/u/kluppy)
#### Post date: [June 28, 2017, 12:25pm UTC](https://forum.syncthing.net/t/deleted-camera-roll-photos-are-synced-as-empty-folders/10028/6 "2017-06-28T12:25:10Z")

</div>

What version of Android are you running?

---

<div class="post-metadata">

### Author: ![Nutomic](https://forum.syncthing.net/user_avatar/forum.syncthing.net/nutomic/32/270_2.png) [@Nutomic](https://forum.syncthing.net/u/Nutomic)
#### Post date: [June 29, 2017, 3:55am UTC](https://forum.syncthing.net/t/deleted-camera-roll-photos-are-synced-as-empty-folders/10028/7 "2017-06-29T03:55:00Z")

</div>

There’s an open issue for this, unfortunately it’s not fixed yet

> <https://github.com/syncthing/syncthing-android/issues/771>

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [July 29, 2017, 4:02am UTC](https://forum.syncthing.net/t/deleted-camera-roll-photos-are-synced-as-empty-folders/10028/8 "2017-07-29T04:02:13Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
