Giter VIP home page Giter VIP logo

danooc's Introduction

danooc

A very simple directory analyzer written in ooc

To be able to compile the program and use it you will have to install ooc's compiler, rock.

For a quick start you can:

$ git clone https://github.com/ooc-lang/rock.git

$ cd rock

$ make rescue

and then add rock to your path.

After building rock, you are ready to get danooc, compile it and use it!

$ git clone https://github.com/billpcs/danooc

$ cd danooc

$ rock

This will create an executable file named 'danooc'

The first time you will get a warning

warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

but this happens every time you initialize a HashMap, so no worries.

You can add it to your path or specify the full path when you use it. Below you can see I have added it to my path so I can just write

$ danooc

However if it is just an executable and not in your path you would have to use

$ ./danooc

in order to run it

Here is a quick demo:

You can call the program with no arguments, so it executes for the current directory

Or you can call it for a certain path in your system

Sometimes, if you don't have permission to certain files/directories the program will fail to read the required data. You can use sudo if you want :D

You can also, of course, combine it with pipes to find certain extensions

$ danooc | grep ".ooc "

to find info on only ooc files or

$ danooc | grep "Size"

to see the estimated size of the current directory

danooc is licensed under the MIT license.

danooc's People

Contributors

billpcs avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.