Skip to content

Instantly share code, notes, and snippets.

@memezilla
Forked from tommct/README.md
Created May 19, 2018 09:17
Show Gist options
  • Select an option

  • Save memezilla/367e02190ca93d23cc79fb1f04b8c823 to your computer and use it in GitHub Desktop.

Select an option

Save memezilla/367e02190ca93d23cc79fb1f04b8c823 to your computer and use it in GitHub Desktop.

Revisions

  1. @tommct tommct revised this gist Dec 19, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -17,5 +17,6 @@ If the file is too big, you may get an error and have to restart. If so, try the
    base=$(basename "$dir")
    tar -czf "${base}.tar.gz" "$dir"
    done
    find . -maxdepth 1 -type f -exec tar cvfz hw.tar.gz {} +


  2. @tommct tommct revised this gist Dec 19, 2017. 1 changed file with 10 additions and 1 deletion.
    11 changes: 10 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -9,4 +9,13 @@ Select "Coursera" again to take you to the Home directory.
    Check the hw.tar.gz file and then Download.
    After the file is downloaded, delete it.

    If the file is too big, you may have to navigate to subfolders and try the method there.
    If the file is too big, you may get an error and have to restart. If so, try the following instead, remembering to delete any tar files created.

    %%bash
    for dir in */
    do
    base=$(basename "$dir")
    tar -czf "${base}.tar.gz" "$dir"
    done


  3. @tommct tommct created this gist Dec 19, 2017.
    12 changes: 12 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    From an open Jupyter Notebook homework assignment, select "Coursera" to take you to the home page.
    Make a new notebook and fill it with the following and excute the cell with:

    %%bash
    tar cvfz hw.tar.gz .

    This may take a little while to run depending on the packages.
    Select "Coursera" again to take you to the Home directory.
    Check the hw.tar.gz file and then Download.
    After the file is downloaded, delete it.

    If the file is too big, you may have to navigate to subfolders and try the method there.