nextcloud / nextcloud/android

Instant picture upload subfolder naming

Open
#1,330 7 comments 1 reaction 0 assignees View on GitHub
enhancement feature: auto upload
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### Actual behaviour
-Tell us what happens

Naming convention:
yyyy = Year in digit
mm = Month in digit
dd = Day of the month in digit
Condition:
Settings - Use subfolders - yes

With uploading pictures to the choosen upload folder a subfolder yyyy is generated and a subfolder thereof mm and the picture file is put into this folder. Which results in
InstantUpload/yyyy/mm/filename (= InstantUpload/2019/08/20180801-140303.jpg)
This does create multiple mm folders (same name) with different content in different years.

### Expected behaviour
-Tell us what should happen

The naming of the subfolder(s) should be configurable with a selectable given pattern.
Then according to the need of the user a pattern like
InstantUpload/yyyy/yyyymm/ (= InstantUpload/2018/201808/)
or
InstantUpload/yyyy/yyyymm/yyyymmdd/ (=InstantUpload/2018/201808/20180801/)
would be possible.

This would integrate with other picture management software.

### Steps to reproduce
1. Setting - subfolders - yes
2. Take a picture
3. Verify the folder structure in InstantUpload

### Environment data
Android version: 4.4.2

Device model: SM-G900FD

Stock or customized system: Samsung stock

Nextcloud app version: 1.4.3

Nextcloud server version: 12.0.1

### Logs
#### Web server error log
```
Insert your webserver log here
```

#### Nextcloud log (data/nextcloud.log)
```
Insert your Nextcloud log here
```
**NOTE:** Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.