# Ignore large files

**URL:** https://forum.syncthing.net/t/ignore-large-files/14163
**Category:** Support
**Created:** [December 6, 2019, 8:24am UTC](https://forum.syncthing.net/t/ignore-large-files/14163 "2019-12-06T08:24:09Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Thomas](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://forum.syncthing.net/u/Thomas)
#### Post date: [December 6, 2019, 8:24am UTC](https://forum.syncthing.net/t/ignore-large-files/14163/1 "2019-12-06T08:24:09Z")

</div>

Can I somehow set syncthing to skip files of a specified size?

---

<div class="post-metadata">

### Author: ![Thomas](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://forum.syncthing.net/u/Thomas)
#### Post date: [December 6, 2019, 8:34am UTC](https://forum.syncthing.net/t/ignore-large-files/14163/3 "2019-12-06T08:34:39Z")

</div>

Perhaps 😉 - But I don’t know how I should get the Android device to autosort large files (from the cemera folder) to a large files folders

---

<div class="post-metadata">

### Author: ![wweich](https://forum.syncthing.net/user_avatar/forum.syncthing.net/wweich/32/1063_2.png) [@wweich](https://forum.syncthing.net/u/wweich)
#### Post date: [December 6, 2019, 8:59am UTC](https://forum.syncthing.net/t/ignore-large-files/14163/4 "2019-12-06T08:59:10Z")

</div>

In the camera folder there are only 2 types of files:

- mostly small pictures
- mostly large videos

So why not just ignore `*.mp4`?

---

<div class="post-metadata">

### Author: ![Thomas](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://forum.syncthing.net/u/Thomas)
#### Post date: [December 6, 2019, 9:02am UTC](https://forum.syncthing.net/t/ignore-large-files/14163/5 "2019-12-06T09:02:20Z")

</div>

I have thought about that - But I like to have some of the small videos synced too

---

<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: [December 6, 2019, 10:43am UTC](https://forum.syncthing.net/t/ignore-large-files/14163/6 "2019-12-06T10:43:28Z")

</div>

Ignoring based on file metadata becomes weird and complex and I’m strongly biased against implementing it.

Consider a file that is just at the boundary between being ignored and not, and is updated now and then on two sides. Sometimes it’s ignored on one device, sometimes on the other, sometimes we ignore updates from the other side and sometimes we don’t. What does it mean if our ignore cutoff is 10 MB, the file is currently 9 MB, and the other side sends an update at 11 MB – do we ignore that update but continue syncing the file with other devices? Do we sync the update and _then_ ignore the file? What about if it shrinks again? And so on. I wouldn’t look forward to trying to explain this behavior to someone.

There’s a similar argument here:

> [@date/age ignore pattern](https://forum.syncthing.net/t/date-age-ignore-pattern/11475):
>
> Hi Syncthing gurus! Thanks for making such a great product! As a power user who frequently uses an /Archive\* subfolder in my ignore patterns to store older files/folder that I wish not to sync to the clients any longer. Would it be possible to have a date-based ignore pattern? This could be defined similar to a -mtime or -atime or -ctime in a unix find command. It could be a tag on a specific sub-folder/path. A global filter for all members in the folder: \* -mtime +30d For a specific sub-f…

---

<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: [January 5, 2020, 10:43am UTC](https://forum.syncthing.net/t/ignore-large-files/14163/7 "2020-01-05T10:43:34Z")

</div>

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