Find the x biggest files in your directories.
Requires Go to be installed and configured.
Install with go get
:
$ go get -u -v github.com/AnujanM/xbiggest/...
$ which xbiggest
$GOPATH/bin/xbiggest
Or, build directly via source:
$ git clone https://github.com/AnujanM/xbiggest.git $GOPATH/src/github.com/AnujanM/xbiggest
$ cd $GOPATH/src/github.com/AnujanM/xbiggest
$ make
$ ./xbiggest
Pass your query to xbiggest via command line argument.
$ xbiggest [number of files] Directories
$ xbiggest 25 ~ ~Documents
$ xbiggest ~ ~Documents
Every query needs at least 1 directory to search through, the number of files returned can be set on the first argument or the default is 10
Each source should be a relative or absolute path to some directory on your machine. Use ~ for your Home Directory. Seperate directories with spaces
$ xbiggest .
$ xbiggest ~/Desktop
$ xbiggest ~/Desktop $GOPATH
This project is completely open source, feel free to open an issue or submit a pull request.
Before submitting code, please ensure your changes comply with Golint. Use make lint
to test this.
xbiggest source code is available under the MIT license.