GuidesScriptsClear Zero Byte Files

Clear Zero Byte Files

This script will try to find and delete any files that are 0 bytes in size.


docker compose exec zipline yarn scripts:clear-zero-byte


When ran, the script will prompt you to confirm that you want to delete the files. If you type y (case insensitive), the files will be deleted. If you type n or anything else (case insensitive), the script will exit.

Before prompted, it will let you know how many files it found that have a size of 0 bytes.

Last updated: 8/4/2023
Edit this page on GitHub