clean-ue4 v0.1.6
clean-ue4
Simple npm script to clean Intermediate, Saved folders, and .pdbs from unreal projects and plugins for release preparation.
Setup
- Install nodejs
- Navigate to ue4 project of choice and open a powershell window there
via npm
npm i clean-ue4cd node_modulesnode clean-ue4this will give you usage instructions
via git
git clone https://github.com/getnamo/clean-ue4.gitcd clean-ue4npm inode clean-ue4this will give you usage instructions
Usage
Format is
node clean-ue4 --p <path> where path should only be auto unless you use -u, then path can be anything.
You'll need one of the following options
Options
-i for intermediate folders
-s for saved folder
-b for *.pdb files
e.g. for everything
node clean-ue4 --p ../ -i -s -b
You'll be prompted to confirm the delete patterns with a y or n.
Other Options
Dry Run
To see what would've gotten deleted without doing it add -d which stands for dry run.
Auto-confirm
To auto-confirm delete prompt use -y
Unrestricted project path
If you want to redirect script to another path you need to add -u to add unrestricted path mode (not recommended).
Lazy mode
If you're comfortable with the files it deletes
do
node clean-ue4 -x
I would recommend doing a dry run first...
node clean-ue4 --x -d
Very lazy mode
Click on the FullCleanForRelease.bat.