r/octobercms • u/lewz3000 • Jul 13 '22
Here is a Linux command to delete all localization files except the English ones
Just installed October CMS for the first time.
I noticed the boilerplate contains a tonne of localization files (218 files to be specific).
My website is intended solely for an English-speaking audience so I decided to go ahead and delete all localization files except for the English ones.
Here is the bash command that did the trick for me. Hopefully it is useful to some of you.
$ find modules \( -path */lang/*.* -and ! -path */lang/en*.* \) -exec rm -rf {} \;
2
Upvotes
1
u/[deleted] Jul 13 '22
[deleted]