Add an `overwrite` option to `drush site:export`
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3579729. -->
Reported by: [phenaproxima](https://www.drupal.org/user/205645)
Related to !857
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Right now, if you try to export the site and the destination directory already exists, the site:export command will nope out and fail with an error. That's probably good, in the name of preventing accidental overwrites, but sometimes it's desirable.</p>
<p>Let's add an --overwrite option to the command that fully overwrites existing files in the destination directory.</p>
issue