Updating files within a tracked directory

I have a large directory tracked by dvc with a single .dvc file. Often, I’ll will want to just pull a single file within that directory, make some modifications, and then push those changes back up to the remote repo. However, if I just do dvc add my_directory/, then it will think I want to delete all the other files. Do I have to pull down the entire directory in order to modify a single file?

Hi @gregamis .

Do I have to pull down the entire directory in order to modify a single file?

As of today, yes, unfortunately.

There is an open discussion about this use case Mechanism to update a dataset w/o downloading it first · Issue #4657 · iterative/dvc · GitHub, don’t hesitate on commenting there your use case, for better visibility of the request.