Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/i2z1/nextcloud_uploader
https://github.com/i2z1/nextcloud_uploader
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/i2z1/nextcloud_uploader
- Owner: i2z1
- License: mit
- Created: 2024-11-06T10:36:53.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-06T10:48:15.000Z (about 2 months ago)
- Last Synced: 2024-11-06T11:40:34.720Z (about 2 months ago)
- Language: R
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nextcloud_uploader
Upload folders recursively to Nextcloud using R and curl
## Usage
### Ensure deps are installed
`install.packages(c("dplyr", "cli", "purrr"))`
### Configure vars in script
```
src_path <- "/mnt/hdd/Music"
nc_path <- "Music"
nc_uri <- "https://example.com"
auth_str <- ":"
```Params:
* `src_path` -- source folder
* `nc_path` -- Nextcloud destination folder
* `nc_uri` -- Nextcloud URI
* `auth_str` -- login:password string, i.e. "myuser:mypassword"### Run
`Rscript nextcloud_uploader.R`