File copied from cache to workspace after dvc remove #7028
skrishnanv
started this conversation in
General
Replies: 2 comments
-
Yes, this is expected behavior.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks,
I understood that part. I was wondering about the file popping back in the
workspace.. would there be a better place for popping it back. because if
this were a large file, I would see a 2gb file coming up. Just thinking out
aloud.
…On Tue, 23 Nov, 2021, 3:04 pm Peter Rowlands (변기호), < ***@***.***> wrote:
Yes, this is expected behavior. dvc remove just tells DVC to stop
tracking a file, it does not remove the actual data. To also remove the
actual data you need to include the --outs option. From the dvc remove
docs (https://dvc.org/doc/command-reference/remove#description):
Note that the actual output files or directories of the stage (outs field)
are not removed by this command, unless the --outs option is used.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7028 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALAFBNJAT2MGOMMXGBXILSLUNNN2VANCNFSM5IS72AVA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
i was experimenting with the feature[https://dvc.org/doc/command-reference/add#example-transfer-to-the-cache]. the file name is data.xml
i am on WSL with the dvc project being somewhere in /mnt/c and the cache in /mnt/d/cache
I have enabled soft linking.
The download and linking was fine, i could see the link pointing to the cache.
Then i did dvc remove on the data.xml.dvc. Then i found that the original file is copied back to workspace but the symlink was gone. dvc gc -w removed the cache.
is this an expected behaviour?
Regards
Beta Was this translation helpful? Give feedback.
All reactions