Search code examples
amazon-web-servicesdownloadamazon-sagemaker

Download an entire folder from AWS sagemaker to laptop


I have a folder with predicted masks on AWS Sagemaker. ( It has 4 folders inside it and lot of files inside those folders. ) I want to download the entire folder to my laptop. This might sound so simple and easy, but I could not find a way to do it. Appreciate any help.

Thanks


Solution

  • You can do that by opening a terminal on sagemaker. Navigate to the path where your folder is. Run the command to zip it

    zip -r -X archive_name.zip folder_to_compress
    

    You will find the zipped folder. You can then select it and download it.