Skip to content

🚀 An extremely fast tool for prune your file-system written in V

License

Notifications You must be signed in to change notification settings

axetroy/prune.v

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prune

ci Latest Version License Repo Size

An extremely fast tool for prune your file-system written in V

The tool will traverse the target directory, look for files/directories that can be deleted (eg. node_modules/bower_components/.temp/.dist) and delete them to free up your hard disk space.

Feature

  • Remove extra stuff to make room for your hard drive
  • Written in V
  • Coroutine support, make full use of CPU. It's fast

Install

  1. Cask

    cask install github.com/axetroy/prune.v
  2. Shell (Mac/Linux)

    curl -fsSL https://github.com/release-lab/install/raw/v1/install.sh | bash -s -- -r=axetroy/prune.v -r=prune
  3. PowerShell (Windows):

    $r="axetroy/prune.v";$e="prune";iwr https://github.com/release-lab/install/raw/v1/install.ps1 -useb | iex
  4. Github release page

    download the executable file and put the executable file to $PATH

Usage

$ prune --help
prune - A tool for prune your file-system

USAGE:
  prune [OPTIONS] <dirs>

OPTIONS:
  --help        print help information
  --version     print version information
  --delete      whether to delete the file

EXAMPLE:
  prune ./dir1 ./dir2 ./dir3

SOURCE CODE:
  https://github.com/axetroy/prune
$ prune ./src

Build from source

$ make

LICENSE

The MIT License

About

🚀 An extremely fast tool for prune your file-system written in V

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published