Working with the .tar.gz File

Working with the .tar.gz File#

Tags: educator reference

Courses are exported and imported in .tar.gz files containing OLX (Open Learning XML), the Open edX markup format for open course exchange. For more information about OLX, see the EdX Open Learning XML Guide.

To extract and compress .tar.gz files, if you’re using Linux or macOS

# extract
tar -zxvf example.tar.gz

# compress
tar -czvf example.tar.gz /path/to/directory-or-file

If you’re using Windows, you’ll probably need a 3rd-party tool like 7-zip or TarTool.

For more, see the following resources: