Exporting Workspace Static Files
Export a workspace static files using the apex export command and -expFiles option.
To export workspace static files, use the apex export command with the -expFiles option and provide the workspace ID.
In the following example, the workspace ID is 1908816359534887 and would create a file namedfiles_1908816359534887.sql in the current directory.
SQL> apex export -expFiles -workspaceid 1908816359534887