# Publi17 SSH Sync Setup

This repository contains the configuration and scripts for synchronizing your local development environment with the remote server.

## Changes Made

1. **Updated Sync Configuration**
   - Changed remote path to `/home4/kbhnjgmy/public_html/publi17`
   - Added safety exclusions for WordPress files
   - Enabled confirmation before upload

2. **WordPress Cleanup**
   - Created `cleanup-wp.sh` script to remove WordPress core files
   - The script preserves the `wp-content` directory by default

## Next Steps

1. **Review the Changes**
   - Check the updated `sync_config.jsonc`
   - Review the `cleanup-wp.sh` script

2. **Clean Up WordPress**
   - Upload the `cleanup-wp.sh` script to your server
   - Make it executable: `chmod +x cleanup-wp.sh`
   - Run it: `./cleanup-wp.sh`

3. **Test the Sync**
   - Try syncing a test file
   - Verify the files appear in the correct location

## Safety Notes

- The sync is configured to ask for confirmation before uploading
- WordPress-related files are excluded from syncing
- Always back up your data before running cleanup scripts
