Bash script that uses curl to send files and folders to a nextcloud/owncloud shared folder. Also available to create dirs and delete files/folders, among other utilities.
AGPL-3.0 License
Bot releases are visible (Hide)
Published by tavinus 3 months ago
- (piped)
in verbose infoPublished by tavinus 3 months ago
Published by tavinus 3 months ago
Published by tavinus 3 months ago
Published by tavinus 3 months ago
Version 2.3.3
Version 2.3.2
-T | --target <folder>
option for setting a target folder on remote
--target 'folder1/folder2/folder3'
-C | --mkdir
option for creating folders at the remote
'folder1/folder2/folder3'
as input filePublished by tavinus 3 months ago
-T | --target <folder>
option for setting a target folder on remote
--target 'folder1/folder2/folder3'
-C | --mkdir
option for creating folders at the remote
'folder1/folder2/folder3'
as input filePublished by tavinus 3 months ago
-D|--delete
and pass the file/folder to be deleted as if it was the file being sent.Published by tavinus 3 months ago
-A|--user-agent
for passing a user agent to curl -A
-E|--referer
for passing a referer to curl -e
Published by tavinus over 1 year ago
-a | --abort-on-errors
Published by tavinus over 1 year ago
Better error detection and handling.
Will detect both curl errors and webdav response errors.
Will print XML response at the end if not empty, eg:
Published by tavinus over 1 year ago
Uses the curl --limit-rates
to limit the speed of the file transmission
Example parameters. 100K
, 1M
Published by tavinus almost 2 years ago
This version allows sending files to sub-folders inside the main shared folder.
The folder link must follow Nextcloud's notation, with ?path=%2FFOLDERNAME
appended to the link.
The easiest way is to open the shared folder from the shared link and then copy the URL.
Example of a valid URL:
https://cloud.mydomain.tld/s/TxWdsNX2Ln3X5kxG?path=%2FMYFOLDER
Fixes #9
Published by tavinus almost 2 years ago
This version allows sending files to sub-folders inside the main shared folder.
The folder link must follow Nextcloud's notation, with ?path=%2FFOLDERNAME
appended to the link.
The easiest way is to open the shared folder from the shared link and then copy the URL.
Example of a valid URL:
https://cloud.mydomain.tld/s/TxWdsNX2Ln3X5kxG?path=%2FMYFOLDER
Fixes #9
Published by tavinus almost 2 years ago
Makes it possible to send files and folders with '#' (hashtags) in their names.
Fixes #11
Published by tavinus over 3 years ago
Fix log messages for all modes of operation and execution parameters.
Fix #8
Moved --help
and --version
to the parameters pre-processing.
Published by tavinus over 3 years ago
v2.2.0 is the first release that can send entire folder trees.
Just use a folder path as the input.
We traverse the whole folder, create all needed folder and subfolders and then send each file to its destination.
Published by tavinus almost 4 years ago
Merged Fix, bumped version
https://github.com/tavinus/cloudsend.sh/pull/5
Published by tavinus about 4 years ago
Re - organised help message, updated Readme.md
with it.
Published by tavinus about 4 years ago
Better Readme.md