Delete remote artifacts


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 where I tried to delete corrupted zero-byte remote artifacts uploaded by a dvc push command.

Thank you for your help!


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.