[LON-CAPA-users] How to delete a folder in construction space
Itay
itayf at nospammail.net
Mon Sep 22 14:27:43 EDT 2014
Hi Stuart,
On Mon, Sep 22, 2014, at 08:54 PM, Stuart Raeburn wrote:
> Hi Itay,
>
> > How can I efficiently delete a folder and its contents?
>
> If your domain is running LON-CAPA 2.11.0, and your web server is
> using SSL (i.e., URLs begin: https://), then your Domain Coordinator
> can enable webDAV for all authors (or for just selected authors).
Unfortunately the domain is running a version < 2.11.0, and the server
does not use SSL.
I guess the only thing I could do is start negotiating with the IT
people (either for 2.11+SSL, or for 2.12 in the future).
Thank you for the detailed reply.
Itay
> See: https://loncapa.msu.edu/adm/help/tex/Domain_Configuration_Quotas.hlp
>
> With webDAV enabled for you, you could then mount your Authoring Space
> as a Volume on your desktop (details on how depend on the OS you are
> using).
>
> You could then delete an entire folder by dragging the folder to
> Trash, using the standard file management tools provided by your OS.
> Note: if the folder contains any published resources, or likewise any
> sub-folders within it contain published resources, you will not be
> able to delete the folder, without first republishing those published
> resources, with the "Marked Obsolete" flag set.
>
> Note: the "Publish directory" functionality within the LON-CAPA web
> interface allows you to recursively re-publish a directory marking all
> resources within it obsolete.
>
> There is an open enhancement request:
>
> http://bugs.loncapa.org/show_bug.cgi?id=6533
>
> to provide an interface to delete all resources in a folder using the
> LON-CAPA web interface. I expect that will be addressed for the
> LON-CAPA 2.12 release.
>
>
> Stuart Raeburn
> LON-CAPA Academic Consortium
>
>
> Quoting Itay <itayf at nospammail.net>:
>
> > Hi,
> >
> >
> >
> > I am baffled by what seemed to me to be a very simple problem.
> > While experimenting with lon-capa I have created (role: author)
> > a folder with >50 resource files inside in the construction
> > space.
> >
> >
> >
> > When I wanted to delete the folder using the pull-down menu, I
> > got an error with response that the directory has to be empty.
> >
> > Now, deleting the >50 resources within the folder, one-by-one,
> > is no fun at all.
> >
> >
> >
> > How can I efficiently delete a folder and its contents?
> >
> >
> >
> > Thank you in advance,
> >
> > Itay
> >
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
More information about the LON-CAPA-users
mailing list