magento 2 remove generated folder code example
Example: auto generated folder magento
/var/cache: Magento cache (config, blocks, etc...)
/var/page_cache: Magento full page cache (aka FPC)
/var/generation or /generated: Auto generated Magento code (Interceptors, etc...)
/var/view_preprocessed: Static contents before processing (like CSS and processed LESS files)
/pub/static: Public static files (like JS, CSS, HTML, etc...)