Crow is a lightweight command-line tool designed to help developers reclaim valuable disk space by identifying and deleting unnecessary build files. This utility efficiently scans for build files in specified directories and offers an easy way to remove them, ensuring your development environment remains clean and more space left for your video games.
- Download the app file from the release page.
- Set the appropriate PowerShell policy to run the installer:
- Run
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
in the shell.
- Run
- Unzip the downloaded file and navigate to the unzipped directory.
- Run
.\setup.ps1
:- Right click on the file and select Run with PowerShell
- This will copy the
.exe
file toC:\Users\Public\Pienteger\
and add it to the PATH.
- Re-open the Command Prompt, PowerShell, or terminal.
- Run
crow help
to verify the installation.
To set the execution policy, you may need to run the shell as an admin.
crow --lf *csproj --in C:\Users\YourUserName\source\repos --rm bin obj
crow --lf package.json --in C:\Users\YourUserName\jsWorks --rm node_modules
crow --lf package.json --in C:\Users\YourUserName\jsWorks --rm node_modules --ig AppData
Make sure crow is in your PATH
Flag | Description | Remark |
---|---|---|
--lf |
Files or directories to look for | Required |
--in |
Directories to scan | Required |
--rm |
Files or directories to remove | Required |
--ig |
Directories to ignore | Optional |
--force |
Removes files without asking for confirmation | Optional |
-
help
Display help message. -
version
Display app version.
- Flags are case insensitive.
- Using
--force
is not recommended.