Check size prior to download

Hi,

DVC newbie here. Thanks for developing a much-needed tool.

I was wondering if there is a way to obtain the size information of the dvc files/folders before issuing a dvc pull. I have searched through the manual but failed to find any information.

Say I have datasets.dvc file uploaded by a teammate and I would like to learn it’s size prior to downloading it.

DVC version: 1.7.9

4 Likes

Hi @ozyo !

There is no such feature right now, but we’ve recently added size fields to our dvc files https://github.com/iterative/dvc/issues/3256 and we will be able to use them to approximate how much data we need to download/upload without taking deduplication into account. We also plan to add a more precise mechanism to account for deduplication in such donwload/upload predictions. Both will be added to commands like dvc status -c/dvc diff/dvc ls/etc (e.g. https://github.com/iterative/dvc/issues/1312). So stay tuned! :slightly_smiling_face:

2 Likes