# Delete remote artifacts

**URL:** <https://discuss.dvc.org/t/delete-remote-artifacts/1272>\
**Category:** Questions\
**Created:** [July 28, 2022, 9:52am UTC](https://discuss.dvc.org/t/delete-remote-artifacts/1272 "2022-07-28T09:52:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jorue](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@jorue](https://discuss.dvc.org/u/jorue)\
**Post date:** [July 28, 2022, 9:52am UTC](https://discuss.dvc.org/t/delete-remote-artifacts/1272/1 "2022-07-28T09:52:30Z")

</div>

Hi,

is there a DVC command to delete all remote artifacts referenced by a `.dvc` file without deleting the `.dvc` file? My understanding is that the (complex) `dvc gc` command offers means to clean unused artifacts but I struggle to find a way to simply remove pushed artifacts from a remote.  
This question relates to [my other post](https://discuss.dvc.org/t/zero-byte-files-created-in-artifactory-remote-http-based/1271) where I tried to delete corrupted zero-byte remote artifacts uploaded by a `dvc push` command.

Thank you for your help!

Best,  
Joe

---

<div class="post-metadata">

**Author:** ![skshetry](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@skshetry](https://discuss.dvc.org/u/skshetry)\
**Post date:** [July 29, 2022, 10:50am UTC](https://discuss.dvc.org/t/delete-remote-artifacts/1272/2 "2022-07-29T10:50:40Z")

</div>

Hi, Jo. There’s no universal way in DVC to support deletion.  
We suggest using remote-specific tools for these purposes, eg: `gsutil`/`aws`/`curl`, etc, as it’s beyond the scope of DVC, which is a content-addressable storage.
