is it possible to add a subfolder using dvc add
#6880
Replies: 2 comments 1 reply
-
|
If you don't want to make |
Beta Was this translation helpful? Give feedback.
-
|
Thanks a lot for your reply @karajan1001
Yup....but
Yes, They are different versions of the same data points. But I need these folders together on my local machine because I also have a folder called
This is a possible solution.
Which is what I'm looking for. But I was thinking if there is an easy alternative which does the same thing. I haven't really tried out Thanks a lot once again!! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a folder called
datathat is being tracked by dvc. There is also a correspondingdata.dvcfile in my repo.below is the structure
when the data folder is in the above state, it was properly added and pushed to AWS s3.
data.dvcis also properly updated.I now have added two folders to it and this is the structure now
Problem:
Now I want to do
dvc addseparately for0.0.5and0.0.6instead of doingdvc add data. when I dodvc add data/0.0.5I get this errorI guess this is because there is only
data.dvcfolderReason
The reason I want to add the subfolders separately instead of adding the whole data folder (with
dvc add data) is that if I dodvc add data, thedata.dvcwill get updated with the hash corresponding to both the0.0.5and0.0.6folders. Then when I dodvc pull, I will get both the0.0.5and0.0.6folders downloaded.But I just want to associate each data version folder with a unique data.dvc file. Currently, deleting all folders except one and then
doing dvc add dataseems to be the only way.Beta Was this translation helpful? Give feedback.
All reactions