SSH into a WPengine instance
Steps of commands that explain how to do "autodump" on remote site
- Add an SSH key here: https://my.wpengine.com/profile/ssh_keys
- Copy SSH key (screenshot) from here: https://my.wpengine.com/installs/example
- Open terminal and execute
ssh example@example.ssh.wpengine.netWhere the string after ssh is a SSH key that you have copied on the previous step - open root of the theme like this:
cd sites/example/wp-content/themes/dod/
Helpful commands
composer dump-autoloadto autodump composerfind . -name "*.pdf" -type f -deleteto delete all pdf files in the current and subdirectories