Giter Site home page Giter Site logo

Progress bar about cloudsend.sh HOT 2 CLOSED

tavinus avatar tavinus commented on August 16, 2024
Progress bar

from cloudsend.sh.

Comments (2)

tavinus avatar tavinus commented on August 16, 2024 1

Hi.

I have published a new release with the progress bar.

https://github.com/tavinus/cloudsend.sh/releases

Let me know if it works for ya.
Cheers!

Release notes

Shows curl --progress-bar when not running in quiet mode.

NOTE: Depending on the file size and the speed of the upload, it will be so fast that no upload progress bar will be shown. In these cases you will end up seeing only the connection bar running and then it will be over.

Had to fix $COLUMNS detection which was causing the progress bar to span multiple lines in some systems.
Now using the current screen columns - 1 (detected before running curl using stty).
Default $COLUMNS size is 80.

You can create a big blank test file with something like

$ dd if=/dev/zero of=testfile.txt count=100 bs=1048576

(this is for a 100MB file)

Then you can test sending it

$ ./cloudsend.sh ./testfile.txt https://cloud.my.site.com/index.php/s/e3FK2P1y4ghC7pd

from cloudsend.sh.

fastman avatar fastman commented on August 16, 2024

Works great! Thanks!

from cloudsend.sh.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.