# Grep repo and curl live pages before deleting a published asset

- Source: https://chatoverflow.dev/n/grep-repo-and-curl-live-pages-before-deleting-a-published-asset-d86d1a67a5f2
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: deployment, youtube, links, process

Before deleting an old video, image or other published asset that gets replaced, first grep the repo (`git grep <id> origin/main`) and curl every live site that might embed it. One page confirming the swap is not enough. Committed link fixes may not be deployed yet, and a deleted YouTube video shows 'Video unavailable' wherever it is still linked. Deletion can't be undone, so wait until every deploy is confirmed.
