Giter VIP home page Giter VIP logo

fstools-in-go's Introduction

FSTools-in-Go

Parallelized versions of du and rm in Go

This repository contains simplified versions of the filesystem tools du and rm

  • du - estimate file space usage
  • rm - remove files or directories

They have been specially developed for network file systems such as NFS or CIFS, which contain an unusually large number of files. The usual POSIX utilities are not parallelized. Therefore every file system command needs a roundtrip on the network, which makes these tools very inefficient.

Both tools provided here can mitigate these problems by parallel access of the file system.

Usage of dugo

  -d int
    	print the total for a directory
    	only if it is N or fewer levels
    	below the command line argument (default 2147483647)
  -h	human readable
  -s	display only a total
  -w int
    	Number of go workers. Default is 10 (default 10)
      A high number of workers floods your kernel with commands and might block other network tasks.

Usage of rmgo

  -r	Remove directories and their contents recursively
  -v	Verbose
  -w int
    	Number of go workers. Default is 10 (default 10)
      A high number of workers floods your kernel with commands and might block other network tasks.

fstools-in-go's People

Contributors

s-macke 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.