File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_Archiving_Directory.tex
Revision 1.1: download - view: text, annotated - select for diffs
Mon May 13 13:55:51 2024 UTC (8 weeks, 1 day ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, HEAD
- Bug 6990. Author can export specified files (with/without recursion into
  subdirectories from current directory in Authoring Space to archive file.

\label{Authoring_Archiving_Directory}

When your Author role is selected and you access a directory in your Authoring Space,
including the top-level directory: /priv/yourdomain/yourusername/,
the \textbf{Function} bar of the Inline Menu. will contain an Export icon/link 
\includegraphics[width=0.03\paperwidth]{archive}
unless disabled -- either for your domain, or for your specific Authoring Space.

This utility can be used to export files in the current directory, and optionally also
within sub-directories, by creating a compressed archive file which you can download
to your computer.

Options include:

\begin{itemize}

\item Recurse

If the current directory contains sub-directories, and you wish to include those
in the exported archive file, check ``include subdirectories''.

Note: if the current directory, contains only sub-directories, i.e., there are
no files, then no archive file will be created if ``include subdirectories'' is
unchecked.

\item File types (extensions) to include

Checkboxes are provided for 22 common file extensions, including several
exclusive to LON-CAPA, such as problem, sty, meta etc., and others for
common web page or image formats. There is also an "other" checkbox which
if checked will cause any files with extensions that are not one of the 22
listed to be included in the archive file.

If you want to exported archive to contain all files, push the ``check all'' button.

Note: there are some internal files which LON-CAPA creates in your Authoring Space,
but are not shown on LON-CAPA's directory listing screen (e.g., .log files) which
will automatically be omitted from the exported archive, regardless of the choices
made for file types to include.

\item Archive file format

The format used to archive files (with or without) sub-directories can be tar or zip.
If tar is selected, then you will also choose which compression program to use.  The
default format is: tar.gz.

\end{itemize}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>