GithubHelp home page GithubHelp logo

ruby-scripts's Introduction

Set of command line scripts

Requirements

All these scripts are written using Ruby 1.9. They are not tested with Ruby 1.8 but should work. Detailed information is located in each script folder

cloudapp

Upload , list, rename or delete file on your Cloudapp account

ecp

Copy file or directories. The progress is printed in a progress bar on screen

lipsum

Get text from lipsum.com and copy it to the clipboard

wolfram

Query the wolfram alpha engine and print result on screen

ruby-scripts's People

Stargazers

Kodewulf avatar Ivan Nemytchenko avatar Ben avatar

Watchers

Ben avatar James Cloos avatar

ruby-scripts's Issues

Script does not work for directories

Hi,
Me again. Tried to call the script again from my main program. It works fine only if source is a file. If source is a directory then files are copied to destination but directory structure is no the same. It creates directories unnecessarily.

Allow copy to contentent of directory

The script is really cool. This is not a complain about your script. It is just a request for additional feature.

  1. I want to copy the "content" of the source directory to the desired destination not just directory to directory copy. The script works when i use the scrip from terminal ./ecp source/* /dest. However, when i use the script from my main program and call "copy(source/* /dest), it throws an error.
  2. Is it possible to include one progressbar for directory copy? If yes, then it could be awesome.

You may want to consider this as an new feature.

Single progress bar for directory copy.

Hi,
Me again. This is a feature request.

  1. As of now your script shows progress bar for copying each file in a directory. That means 100 progressbar will be shown in terminal if the directory contain 100 files. Is it possible to include only one progress bar while copying directory contain multiple files.
  2. I have noticed that in some cases if the file is broken the script exit with an error. Instead The file can be skipped and copy all other files.

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.