CLI utility to quickly share a file on Nextcloud and get the share link in the Wayland clipboard.
Björn Åström e6c43230b4 Update README | 3 роки тому | |
---|---|---|
README.md | 3 роки тому | |
ncshare | 3 роки тому |
A simple tool to share a local file publicly on a Nextcloud server.
Uses the pass
utility to retrieve the Nextcloud password.
$XDG_CONFIG_HOME/.config/ncshare/config
:
BASE_URL="https://<your nextcloud host>"
USERNAME="<username>"
PASS_PATH="<pass path for the nextcloud user>"
ncshare file.txt
# Share link should now be in your Wayland clipboard.