Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aertslab/nextcloud_share_url_downloader
Download files from and list content of NextCloud (password protected) share directly from the command line without needing a webbrowser.
https://github.com/aertslab/nextcloud_share_url_downloader
Last synced: about 2 months ago
JSON representation
Download files from and list content of NextCloud (password protected) share directly from the command line without needing a webbrowser.
- Host: GitHub
- URL: https://github.com/aertslab/nextcloud_share_url_downloader
- Owner: aertslab
- License: mit
- Created: 2018-07-23T15:13:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-21T11:27:38.000Z (6 months ago)
- Last Synced: 2024-01-27T10:35:14.869Z (5 months ago)
- Language: Shell
- Homepage:
- Size: 12.7 KB
- Stars: 15
- Watchers: 6
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- cli-apps - Nextcloud share URL downloader - Download files from and list content of NextCloud (password protected) share directly from the command line without needing a web browser. (<a name="transfer"></a>Data transfer)
- awesome-cli-apps - Nextcloud share URL downloader - Download files from and list content of NextCloud (password protected) share directly from the command line without needing a web browser. (<a name="transfer"></a>Data transfer)
README
# Nextcloud share URL downloader.
## Purpose
Download files from and list content of NextCloud (password protected) share
directly from the command line without needing a webbrowser.## Installation
```bash
# Clone this repository.
git clone https://github.com/aertslab/nextcloud_share_url_downloadercd nextcloud_share_url_downloader
```## Usage
```bash
# Ask for password:
./nextcloud_share_url_downloader.sh# Provide the password as an argument:
./nextcloud_share_url_downloader.sh
```## Examples
### Download password protected file(s)
```bash
# Download/list password protected file(s) by providing the password as argument:
./nextcloud_share_url_downloader.sh \
"https://nextcloud.example.com/index.php/s/c56Ci4EpLnjj9xT" \
"my_nextcloud_share_password"# Download/list password protected file(s) by providing the password when being prompted for it:
./nextcloud_share_url_downloader.sh \
"https://nextcloud.example.com/index.php/s/c56Ci4EpLnjj9xT"
```### Download/list unprotected file(s)
```bash
# Download/list unprotected file(s) by providing an empty password as argument:
./nextcloud_share_url_downloader.sh \
"https://nextcloud.example.com/index.php/s/c56Ci4EpLnjj9xT" \
""# Download/list unprotected file(s) by providing an empty password when being prompted for it:
./nextcloud_share_url_downloader.sh \
"https://nextcloud.example.com/index.php/s/c56Ci4EpLnjj9xT"
```### Download/list password protected file(s) from a subdirectory
```bash
# Download/list password protected file(s) from a subdirectory:
./nextcloud_share_url_downloader.sh \
"https://nextcloud.example.com/index.php/s/c56Ci4EpLnjj9xT?path=subdir" \
"my_nextcloud_share_password"
```