Excluding VERY specific folders
-
My client’s server is a dumping ground for files and folders, and their WordPress installation is smack dab in the middle of it without it being put in a separate “wordpress” folder. Backing up all of this information would be ridiculous as I only need to backup the WordPress portion of the server so I can update WordPress’ version to the latest one.
Unfortunately, some of those dumping ground root folders are named exactly like WordPress sub-folders (e.g., the root folder is named “images” and the WordPress sub-folder is “wp-admin/images” or the root folder is named “themes” and the WordPress sub-folder is named “wp-content/themes”). Also, some dumping ground root folders are named similarly to WordPress sub-folders (e.g., the root folder is named “includes” and the WordPress sub-folder is named “wp-includes”).
How do I specifically target excluding the non-WordPress root folders while including the non-root WordPress folders?
The topic ‘Excluding VERY specific folders’ is closed to new replies.