Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kubgus/frisk
General use directory size comparison and overview.
https://github.com/kubgus/frisk
Last synced: about 11 hours ago
JSON representation
General use directory size comparison and overview.
- Host: GitHub
- URL: https://github.com/kubgus/frisk
- Owner: kubgus
- License: mit
- Created: 2024-01-31T00:06:44.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-03T23:34:47.000Z (12 months ago)
- Last Synced: 2024-02-04T00:26:17.524Z (12 months ago)
- Language: C++
- Homepage:
- Size: 93.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Frisk
General use directory size comparison and overview by @kubgus.
## Installation
Run the following command in the source directory of this program:
```bash
g++ main.cpp -o frisk -Ofast; sudo mv frisk /bin/
```If you downloaded one of the releases as an executable, navigate to where you downloaded the executable and run:
```bash
sudo mv frisk /bin/
```## Usage
Running the command as it is frisks the current directory with default flags. (see below)
```bash
frisk
```You can view all the flags in terminal with the `-h` flag:
```bash
frisk -h
```### Flags
`-p`, `--path`: Specify the path to frisk. (defaults to current working directory)
`-d`, `--depth`: Limit the frisk directory depth. (defaults to -1, meaning no limit)
`-i`, `--ignore`: Specify a comma-separated list of file/directory names to ignore when printing out the result.
> ***Note:*** Default value is `.git,node_modules`, use `-i ""` to run without ignoring any files.
`-c`, `--compact`: Print the output in a more horizontally compact way.
## Contribution
Feel free to contribute anything you find valuable. The code is very simplistic.