Imageomics / Imageomics/dataverse-access
Selective upload to maintain folder structure
- Dominant language
- Python
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Can we set something up to specify which folders/files to choose or ignore within the source directory?
Example: Given the following file structure:
```
src
- foo_1
- img_file_1
- img_file_2
- ...
- foo_2
- img_file_1
- img_file_2
- ...
- foo_3
- img_file_1
- img_file_2
- ...
- foo_4
```
I want to upload just `foo_1` and `foo_2` from `src` so that in Data Commons I have the two folders containing all their respective files:
```
foo_1
- img_file_1
- img_file_2
- ...
foo_2
- img_file_1
- img_file_2
- ...
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the command-line upload path in the dataverse-access repository and identify where the source directory is traversed. Confirm how folder selection and path preservation are currently handled. Done means selecting only foo_1 and foo_2 uploads their files while preserving those folders in Data Commons, without uploading foo_3 or foo_4.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100