nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.17k stars 1.75k forks source link

Filter Uploads to exclude files #3418

Open newhinton opened 5 years ago

newhinton commented 5 years ago

Filter Uploads to exclude files, quiet like the desktop app. That would enable the user to exclude files like the .thumbdataXX files android creates for dcim-folders.

nextcloud-android-bot commented 5 years ago

GitMate.io thinks possibly related issues are https://github.com/nextcloud/android/issues/60 (Filter), https://github.com/nextcloud/android/issues/3270 (Upload existing files), https://github.com/nextcloud/android/issues/2440 (Metadata corruption after uploading files to encrypted folder), https://github.com/nextcloud/android/issues/2023 (Failure in uploading/copying file to encrypted folder), and https://github.com/nextcloud/android/issues/1842 (Unable to Upload file... ).

Siggi0904 commented 5 years ago

+1

On myself I backup the complete whatsapp folder and I'd like to exclude the tmp and sys files.

y0grt commented 4 years ago

+1

Many apps (like WhatsApp) generate .nomedia files that cause unwanted behavior of a few apps (like preview generation task). See https://github.com/rullzer/previewgenerator/issues/192 for more information.

Should be possible to avoid the upload of unwanted file types to avoid this behavior.

tncxrb commented 2 years ago

+10 I have to sync a bunch of hidden but as a whole I probably ignore over half. I have them all filtered out on my desktop clients but obviously not on android. I am surprised we still don't have this option on the android app.

supermar1010 commented 2 years ago

I put this feature request in a formal template here: #9788 please contribute and extend :)

Thokas commented 2 years ago

Any update on the Merge-Request? I auto-upload my signal backups and when signal starts backups it creates .tmp files that the app tries to upload, so would really appreciate this feature 😅

DetlevCM commented 1 year ago

It looks like there was never a proper resolution of this? I don't have a way to implement this, but being able to exclude files in the Android app is something I would really like to see. I want to synchronize my files with my Nextcloud, but if I take photos in RAW on my phone, I will be uploading 100MB files instead of much smaller JPEGs... This will eat up a lot of my mobile data and space on my Nextcloud: and wifi at home is pointless as I can directly transfer files to my NAS...

So excluding .dng files would be great. However someone else might want to keep them...

The best approach I can think off, would be to use the approach employed in git for the .gitignore file.

One can specify which files to exccude (based on patterns) but also include specific files while excluding a pattern. This approach would be the most flexible and also an approach that is already well established. The question may be whether this should be implemented as an in-app setting or as as hidden file similar to git affecting all subfolders...

Anyway, my two cents on the matter as I feel this is a huge weakness in the synchronization functionality...

nydragon commented 1 month ago

It makes the application frustrating to use because I have to manually hide 30+ folders from the sync setting view and get prompted every time a new album is added to my music collection... I don't see how this is more user friendly than having the "complexity" of being able to exclude folders.

Auxio's UI is pretty intuitive and looks nice:

image