Skip to content

Instantly share code, notes, and snippets.

@xphere
Last active September 13, 2018 17:41
Show Gist options
  • Save xphere/6c90853d9483ca8c89c07bcd48f5e445 to your computer and use it in GitHub Desktop.
Save xphere/6c90853d9483ca8c89c07bcd48f5e445 to your computer and use it in GitHub Desktop.
Remove useless fields in Godot projects
#!env sh
FILES="$(find -type f -name *.tscn)" && sed -i "/^editor\/display_folded/d" -- $FILES && sed -i "/^_sections_unfolded/d" -- $FILES && sed -i '/^\[node /s/ index="0"//g' -- $FILES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment