# \[RESOLVED\] Downloading Select Channel Folders through the Terminal

**URL:** <https://community.learningequality.org/t/resolved-downloading-select-channel-folders-through-the-terminal/2366>\
**Category:** Kolibri\
**Tags:** download\
**Created:** [March 28, 2022, 1:38pm UTC](https://community.learningequality.org/t/resolved-downloading-select-channel-folders-through-the-terminal/2366 "2022-03-28T13:38:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Duncan\_Zayachkowski](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/duncan_zayachkowski/32/1132_2.png) [@Duncan\_Zayachkowski](https://community.learningequality.org/u/Duncan_Zayachkowski)\
**Post date:** [March 28, 2022, 1:38pm UTC](https://community.learningequality.org/t/resolved-downloading-select-channel-folders-through-the-terminal/2366/1 "2022-03-28T13:38:01Z")

</div>

Hello,

# Summary

I am trying to put together a .sh file, which will take a fresh Linus-OS install and apply everything someone would need to create an offline server. This includes Kolibri, Kolibri content, as well as Kiwix serve and content. This issue I come across is with downloading channels to Kolibri. I am able to download the entire channel, but I cannot figure out how to download parts of a channel. On Kolibri through the super-admin controls when adding channels I can select specific content within the channel, is this something which is possible to do through the terminal?

To download the kolibri channels I am using the following terminal commands (in this case the code is for global digital library):

```auto
kolibri manage importchannel network 0e173fca6e9052f8a474a2fb84055faf
kolibri manage importcontent network 0e173fca6e9052f8a474a2fb84055faf

```

## Technical details

- Kolibri version: 0.15.1
- Operating system: Linux Mint 20.3 Cinnamon
- Browser: Fire Fox

Thank you,  
Duncan

---

<div class="post-metadata">

**Author:** ![blaine](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/blaine/32/479_2.png) [@blaine](https://community.learningequality.org/u/blaine)\
**Post date:** [March 28, 2022, 3:53pm UTC](https://community.learningequality.org/t/resolved-downloading-select-channel-folders-through-the-terminal/2366/2 "2022-03-28T15:53:56Z")

</div>

Hi @Duncan_Zayachkowski,

I don’t believe this is possible with Kolibri’s current management commands. There is an alternative though!

If you aren’t familiar with [Kolibri Studio](https://studio.learningequality.org/en/accounts/) yet, you may use Kolibri Studio to curate content from channels that are publicly available and importable to Kolibri, into a channel of your own. In this way, you may select only the folders and topics that you would like to import into your Kolibri instance(s) by importing the channel you’ve curated content into.

Regards,  
Blaine

---

<div class="post-metadata">

**Author:** ![Duncan\_Zayachkowski](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/duncan_zayachkowski/32/1132_2.png) [@Duncan\_Zayachkowski](https://community.learningequality.org/u/Duncan_Zayachkowski)\
**Post date:** [March 28, 2022, 4:10pm UTC](https://community.learningequality.org/t/resolved-downloading-select-channel-folders-through-the-terminal/2366/3 "2022-03-28T16:10:04Z")

</div>

Hi @blaine,

Okay, thank you! I had a feeling the terminal command might not work that way, so thank you for letting me know and showing me an alternative. I will try that out.

Thanks again,  
Duncan

---

<div class="post-metadata">

**Author:** ![blaine](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/blaine/32/479_2.png) [@blaine](https://community.learningequality.org/u/blaine)\
**Post date:** [March 28, 2022, 4:57pm UTC](https://community.learningequality.org/t/resolved-downloading-select-channel-folders-through-the-terminal/2366/4 "2022-03-28T16:57:53Z")

</div>

@Duncan_Zayachkowski I was wrong! It isn’t currently documented, but there is a way to import specific resources and a way to exclude resources. The `importcontent` command accepts arguments [`--node_ids`](https://github.com/learningequality/kolibri/blob/develop/kolibri/core/content/management/commands/importcontent.py#L67) and [`--exclude_node_ids`](https://github.com/learningequality/kolibri/blob/develop/kolibri/core/content/management/commands/importcontent.py#L85) which accept a comma separated list of IDs. You may execute to `kolibri manage importcontent --help` to see all options.

The easiest way to find a _node ID_ is using Kolibri Studio. When you open a folder on Studio, the boxed portion of the URL in the image below is the node ID.

 ![Untitled drawing (1)](https://canada1.discourse-cdn.com/flex035/uploads/learneq/original/2X/c/c3f7836e9707f4309ef63a0416610d67341c0f6c.png)
