# How to specify multiple files when dGraph Live Loader

**URL:** <https://discuss.dgraph.io/t/how-to-specify-multiple-files-when-dgraph-live-loader/7307>\
**Category:** Dgraph\
**Tags:** faq\
**Created:** [June 22, 2020, 1:25am UTC](https://discuss.dgraph.io/t/how-to-specify-multiple-files-when-dgraph-live-loader/7307 "2020-06-22T01:25:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gumupaier](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@gumupaier](https://discuss.dgraph.io/u/gumupaier)\
**Post date:** [June 22, 2020, 1:25am UTC](https://discuss.dgraph.io/t/how-to-specify-multiple-files-when-dgraph-live-loader/7307/1 "2020-06-22T01:25:44Z")

</div>

How to specify multiple files when Dgraph Live Loader, such as Dgraph live -f \*.json.gz

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [June 22, 2020, 1:45am UTC](https://discuss.dgraph.io/t/how-to-specify-multiple-files-when-dgraph-live-loader/7307/2 "2020-06-22T01:45:15Z")

</div>

From docs:

> `-f, --files` : Location of \*.rdf(.gz) or \*.json(.gz) file(s) to load. It can load multiple files in a given path. If the path is a directory, then all files ending in .rdf, .rdf.gz, .json, and .json.gz will be loaded.  
> [Self-managed cluster - Deploy](https://dgraph.io/docs/deploy/#live-loader)

That is, you only need to provide the path for the files that Dgraph will automatically load all compatible datasets there.

---

<div class="post-metadata">

**Author:** ![gumupaier](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@gumupaier](https://discuss.dgraph.io/u/gumupaier)\
**Post date:** [June 22, 2020, 7:15am UTC](https://discuss.dgraph.io/t/how-to-specify-multiple-files-when-dgraph-live-loader/7307/3 "2020-06-22T07:15:53Z")

</div>

Great, thanks for your help.

---

<div class="post-metadata">

**Author:** ![gumupaier](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@gumupaier](https://discuss.dgraph.io/u/gumupaier)\
**Post date:** [June 22, 2020, 11:22am UTC](https://discuss.dgraph.io/t/how-to-specify-multiple-files-when-dgraph-live-loader/7307/4 "2020-06-22T11:22:35Z")

</div>

hi, @MichelDiz  
This error is reported when too many files are loaded or when files are too large. Where could this be going wrong?

 ![image](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/6/6445b0b65ffbdecb951b927855a8c7dc0014b673.png)

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [June 22, 2020, 1:33pm UTC](https://discuss.dgraph.io/t/how-to-specify-multiple-files-when-dgraph-live-loader/7307/5 "2020-06-22T13:33:49Z")

</div>

There’s no error on the print screen. Aborts are totally fine. Dgraph will retry later.

---

<div class="post-metadata">

**Author:** ![gumupaier](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@gumupaier](https://discuss.dgraph.io/u/gumupaier)\
**Post date:** [June 23, 2020, 1:34am UTC](https://discuss.dgraph.io/t/how-to-specify-multiple-files-when-dgraph-live-loader/7307/6 "2020-06-23T01:34:02Z")

</div>

hi @MichelDiz  
Sorry, I didn’t complete the screenshot

 ![image](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/c/c5c7ead61cd4abd42cff50ec35be3ae8f79c8b71.png)

This is an error screenshot
