# Add a remote directory without adding to the cache

**URL:** <https://discuss.dvc.org/t/add-a-remote-directory-without-adding-to-the-cache/452>\
**Category:** Questions\
**Created:** [July 22, 2020, 12:59am UTC](https://discuss.dvc.org/t/add-a-remote-directory-without-adding-to-the-cache/452 "2020-07-22T00:59:43Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![jorgeorpinel](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dvc.org/jorgeorpinel/32/46_2.png) [@jorgeorpinel](https://discuss.dvc.org/u/jorgeorpinel)\
**Post date:** [July 22, 2020, 4:00pm UTC](https://discuss.dvc.org/t/add-a-remote-directory-without-adding-to-the-cache/452/7 "2020-07-22T16:00:45Z")

</div>

Interesting ideas about using a stage with no dependencies, or an [external dependency](https://dvc.org/doc/user-guide/external-dependencies) in a 2-stage pipeline Pawel. But if the goal is to download the data with `dvc pull` like in the other repos @nimrand has, that wouldn’t help, as `dvc repro` is needed instead instead.

The problem is that for `dvc pull` to work, the data would need to be pushed first, meaning added manually to the workspace, tracked by DVC (`dvc add` for example), and `dvc push`ed to some remote storage. Another way to put in the workspace and track it in a single step would be `dvc import-url`. But both these methods duplicate the remote storage of the data set.

Another possible workaround is to add the data to the project without moving it, as an [external output](https://dvc.org/doc/user-guide/managing-external-data). This implies setting up an external cache in the S3 location first, and then do something like `dvc add s3://s3_data_path`. I’m not sure what happens on the S3 at that point though, the data may be duplicated anyway 😕 and `dvc pull` still wouldn’t download it to the workspace, as it’s added externally (never pushed in the first place).

---

_[View the full topic](https://discuss.dvc.org/t/add-a-remote-directory-without-adding-to-the-cache/452)._
