Comments (11)
Sending directories is currently not supported.
You would have to make a script that will iterate through the files and send each one on its call.
Also, cloudsend had no MakeDir call. CloudManager has makedir, but is not for sending files to public shares and also does not currently support sending folders.
from cloudsend.sh.
from cloudsend.sh.
Yep. You can tar/zip the folder and send it as well.
Apart from that we would need to send all files, one by one anyways, even if I would implement it here.
And there is no support to creating folders at the destination (all files would be sent to the shared folder root). I don't think I can do anything about that.
from cloudsend.sh.
Hi. I have released a new version (2.1.0) which can both send multiple files (using globs) and also send piped content (using -
OR .
as input file name).
Here are the release notes:
- Adds stdin as input option (piped content)
- uses either
-
or.
as input file name - requires
-r <filename>
- uses either
- Allows to use globbing at the input
- can send multiple files by using globs
- requires
-g
option - not compatible with
-r <name>
option (rename)
- Adds new checks and parsing
- Cleaned up unused code
- Updated readme and
--help
There is more info on the main Readme file.
from cloudsend.sh.
I have updated the readme with an example on how to send an entire folder (and/or subfolders) using find
+ cloudsend
.
Folder send with find
example:
find ./ -maxdepth 1 -type f -exec ./cloudsend.sh {} https://cloud.mydomain.tld/s/TxWdsNX2Ln3X5kxG -p yourPassword \;
This sends everything on the current shell folder.
- change the first
./
to change the input folder (eg. '/home/myname/myfolder') -maxdepth 1
will read current folder only, more levels go deeper, supressing goes all levels.
from cloudsend.sh.
Thanks! I just tried the find
way. It has one caveat though: the directory structure is flattened.
from cloudsend.sh.
Yep, there is no way to create sub-folders.
If you want to keep the tree, it would be better to send a zip or tarball.
from cloudsend.sh.
Like mentioned, we cannot create folders into shared links, so need to flatten or send a zip/tarball.
After more than 2 months I will guess this is solved.
Feel free to post again or reopen if the problem persists.
from cloudsend.sh.
Hi @nthiery
v2.2.0 is out and is the first version that can send folders.
This one will actually create the whole tree and send everything.
https://github.com/tavinus/cloudsend.sh/releases/
Cheers!
from cloudsend.sh.
from cloudsend.sh.
Just pushed v2.2.1 with some fixes to the log messages.
Cheers
from cloudsend.sh.
Related Issues (13)
- RPM package for ROSA HOT 2
- Transfer of files/directories with # in name does not work HOT 4
- return URL after uploading ? HOT 3
- Get curl --limit-rate settings accessible HOT 3
- Support chunked upload HOT 1
- Option to specify the remote file name HOT 9
- Screenshots HOT 1
- Progress bar HOT 2
- Upload to Nextcloud 21 does not work HOT 6
- Create folders HOT 6
- Better messages for globbing HOT 1
- Sending to existing subfolder HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudsend.sh.