{
  "id": 154464,
  "title": "Any way to download a specific folder in google colab?",
  "url": "/competitions/siim-isic-melanoma-classification/discussion/154464",
  "author_name": "",
  "post_date": "2020-05-28T12:40:17.805041200Z",
  "votes": 5,
  "comment_count": 8,
  "views": 0,
  "content": "<p>Total dataset is very large. So, I wanted to download only jpeg folder(including with the contents inside) in google colaboratory. Using kaggle api, I can download a specific file only. I can run a loop for each files in that folder. But is there any other way, so that I can download a specific folder only with single command ?</p>",
  "messages": [
    {
      "id": "865160",
      "postDate": "05/28/2020 12:40:17",
      "content": "<p>Total dataset is very large. So, I wanted to download only jpeg folder(including with the contents inside) in google colaboratory. Using kaggle api, I can download a specific file only. I can run a loop for each files in that folder. But is there any other way, so that I can download a specific folder only with single command ?</p>",
      "rawMarkdown": "Total dataset is very large. So, I wanted to download only jpeg folder(including with the contents inside) in google colaboratory. Using kaggle api, I can download a specific file only. I can run a loop for each files in that folder. But is there any other way, so that I can download a specific folder only with single command ?",
      "votes": null
    },
    {
      "id": "865277",
      "postDate": "05/28/2020 14:15:13",
      "content": "<p>yeah i have the same question</p>",
      "rawMarkdown": "yeah i have the same question",
      "votes": null
    },
    {
      "id": "865655",
      "postDate": "05/28/2020 19:20:22",
      "content": "<p>Me too</p>",
      "rawMarkdown": "Me too",
      "votes": null
    },
    {
      "id": "868097",
      "postDate": "05/30/2020 23:26:40",
      "content": "<p>deleted</p>",
      "rawMarkdown": "deleted",
      "votes": null
    },
    {
      "id": "887859",
      "postDate": "06/16/2020 00:05:43",
      "content": "<p>the same problem here. the proposition by <a href=\"/twopift\">@twopift</a> won't work because isn't going to let me download specific folders, instead it will try to load the entire 109 GB zipped into a 70 GB free-colab workspace which as you might expect will crash, I even tried to move it directly to my unlimitted storage google drive but it crashes since it has to load it first in the workspace. </p>",
      "rawMarkdown": "the same problem here. the proposition by @twopift won't work because isn't going to let me download specific folders, instead it will try to load the entire 109 GB zipped into a 70 GB free-colab workspace which as you might expect will crash, I even tried to move it directly to my unlimitted storage google drive but it crashes since it has to load it first in the workspace.",
      "votes": null
    },
    {
      "id": "890137",
      "postDate": "06/17/2020 10:34:24",
      "content": "<p>Yes, I see, the api only accommodates downloading individual files, not folders - that's a shame. </p>",
      "rawMarkdown": "Yes, I see, the api only accommodates downloading individual files, not folders - that's a shame.",
      "votes": null
    },
    {
      "id": "890400",
      "postDate": "06/17/2020 13:44:22",
      "content": "<p>Hello <a href=\"/amlan107\">@amlan107</a> , I was having the same problem and Kaggle API wasn't solving the problem.\nThen I came around one discussion on kaggle, where <a href=\"https://www.kaggle.com/c/deepfake-detection-challenge/discussion/121194#693924\">this reply</a> by <a href=\"/beingmiakashs\">@beingmiakashs</a> helped me in solving this problem.</p>\n\n<p>With this solution, you can easily download any subfolder(Like jpeg) in the dataset.</p>\n\n<p>This is the link to full discussion: <a href=\"https://www.kaggle.com/c/deepfake-detection-challenge/discussion/121194#\">wget train files</a></p>\n\n<p>Happy Kaggling :)</p>",
      "rawMarkdown": "Hello @amlan107 , I was having the same problem and Kaggle API wasn't solving the problem.\nThen I came around one discussion on kaggle, where [this reply](https://www.kaggle.com/c/deepfake-detection-challenge/discussion/121194#693924) by @beingmiakashs helped me in solving this problem.\n\nWith this solution, you can easily download any subfolder(Like jpeg) in the dataset.\n\nThis is the link to full discussion: [wget train files](https://www.kaggle.com/c/deepfake-detection-challenge/discussion/121194#)\n\nHappy Kaggling :)",
      "votes": null
    },
    {
      "id": "890533",
      "postDate": "06/17/2020 14:51:06",
      "content": "<p>I did solve the problem, download it through the browser, pause, copy download link,and wget it from colab. </p>",
      "rawMarkdown": "I did solve the problem, download it through the browser, pause, copy download link,and wget it from colab.",
      "votes": null
    },
    {
      "id": "890753",
      "postDate": "06/17/2020 17:15:09",
      "content": "<p>Thanks a lot <a href=\"/joshi98kishan\">@joshi98kishan</a> , it worked !!!👌 💙 </p>",
      "rawMarkdown": "Thanks a lot @joshi98kishan , it worked !!!👌 💙",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 865277,
      "author_name": "harrywanght",
      "author_url": "",
      "post_date": "05/28/2020 14:15:13",
      "content": "<p>yeah i have the same question</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 865655,
      "author_name": "maximofn",
      "author_url": "",
      "post_date": "05/28/2020 19:20:22",
      "content": "<p>Me too</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 868097,
      "author_name": "twopift",
      "author_url": "",
      "post_date": "05/30/2020 23:26:40",
      "content": "<p>deleted</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 887859,
      "author_name": "ramadankarim",
      "author_url": "",
      "post_date": "06/16/2020 00:05:43",
      "content": "<p>the same problem here. the proposition by <a href=\"/twopift\">@twopift</a> won't work because isn't going to let me download specific folders, instead it will try to load the entire 109 GB zipped into a 70 GB free-colab workspace which as you might expect will crash, I even tried to move it directly to my unlimitted storage google drive but it crashes since it has to load it first in the workspace. </p>",
      "votes": null,
      "replies": [
        {
          "id": 890137,
          "author_name": "twopift",
          "author_url": "",
          "post_date": "06/17/2020 10:34:24",
          "content": "<p>Yes, I see, the api only accommodates downloading individual files, not folders - that's a shame. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 890533,
          "author_name": "ramadankarim",
          "author_url": "",
          "post_date": "06/17/2020 14:51:06",
          "content": "<p>I did solve the problem, download it through the browser, pause, copy download link,and wget it from colab. </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 890400,
      "author_name": "joshi98kishan",
      "author_url": "",
      "post_date": "06/17/2020 13:44:22",
      "content": "<p>Hello <a href=\"/amlan107\">@amlan107</a> , I was having the same problem and Kaggle API wasn't solving the problem.\nThen I came around one discussion on kaggle, where <a href=\"https://www.kaggle.com/c/deepfake-detection-challenge/discussion/121194#693924\">this reply</a> by <a href=\"/beingmiakashs\">@beingmiakashs</a> helped me in solving this problem.</p>\n\n<p>With this solution, you can easily download any subfolder(Like jpeg) in the dataset.</p>\n\n<p>This is the link to full discussion: <a href=\"https://www.kaggle.com/c/deepfake-detection-challenge/discussion/121194#\">wget train files</a></p>\n\n<p>Happy Kaggling :)</p>",
      "votes": null,
      "replies": [
        {
          "id": 890753,
          "author_name": "amlan107",
          "author_url": "",
          "post_date": "06/17/2020 17:15:09",
          "content": "<p>Thanks a lot <a href=\"/joshi98kishan\">@joshi98kishan</a> , it worked !!!👌 💙 </p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "865160": "Total dataset is very large. So, I wanted to download only jpeg folder(including with the contents inside) in google colaboratory. Using kaggle api, I can download a specific file only. I can run a loop for each files in that folder. But is there any other way, so that I can download a specific folder only with single command ?",
    "865277": "yeah i have the same question",
    "865655": "Me too",
    "868097": "deleted",
    "887859": "the same problem here. the proposition by @twopift won't work because isn't going to let me download specific folders, instead it will try to load the entire 109 GB zipped into a 70 GB free-colab workspace which as you might expect will crash, I even tried to move it directly to my unlimitted storage google drive but it crashes since it has to load it first in the workspace.",
    "890137": "Yes, I see, the api only accommodates downloading individual files, not folders - that's a shame.",
    "890400": "Hello @amlan107 , I was having the same problem and Kaggle API wasn't solving the problem.\nThen I came around one discussion on kaggle, where [this reply](https://www.kaggle.com/c/deepfake-detection-challenge/discussion/121194#693924) by @beingmiakashs helped me in solving this problem.\n\nWith this solution, you can easily download any subfolder(Like jpeg) in the dataset.\n\nThis is the link to full discussion: [wget train files](https://www.kaggle.com/c/deepfake-detection-challenge/discussion/121194#)\n\nHappy Kaggling :)",
    "890533": "I did solve the problem, download it through the browser, pause, copy download link,and wget it from colab.",
    "890753": "Thanks a lot @joshi98kishan , it worked !!!👌 💙"
  },
  "source": "meta"
}