Giter Club home page Giter Club logo

foldercrawler's Introduction

FolderCrawler

License

This project grew out the frustration of always remembering the different commands for listing out files and their respectively filesizes. I wrote this project using one of favourite programming languages: Swift, to make it easier to list out files and their filesizes.

It was tested on a linux specifically on Kali linux :) but I think it's applicable on any *nix system capable of compiling swift code.

Requirements

Any *nix system with a working Swift installation

Swift 5.7 or higher.

Building

Change your working directory to the root of the FolderCrawler directory

cd /path/to/FolderCrawler/

Run this command and wait for it to finish, to compile it for release mode

swift build -c release

The compiled program will be stored at /path/to/FolderCrawler/.build/release folder

Usage

After compilation, just run it with the -h or --help flag to see the full help information

Example

/path/to/FolderCrawler ~/ --subpaths --ds mb --size 100 --exclude ~/Downloads

This preceding example will list out files in the current user home directory and its subdirectories filtering out only files of 100 megabytes and above while removing files from the downloads folder

Features

  • Crawls subdirectories
  • Lists out the filesize and its full filepath
  • Prints the total number of file crawled
  • Skips directory supplied through the --exclude option flag
  • Filter out files according to its filesize
  • Control+C automatically quit the application

Screenshots

App Screenshot

App Screenshot

Feedback

If you have any feedbacks, issues, code improvements of any sort, contributions, or even collaborations on any of your projects.

Please reach out to me at here

foldercrawler's People

Contributors

genaro-chris avatar

Stargazers

Felix F Xu avatar

Watchers

 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.