Tags:
create new tag
view all tags

SID-00990: Delete Multiple Topics?

Status: Answered Answered TWiki version: 4.1.2 Perl version:
Category: CategoryMissingFunctionality Server OS: Last update: 15 years ago

Hello,

I am trying to delete some 40+ user pages from my TWiki installation. Is it possible to do this in one run, or do I need to delete each and every topic by hand? Ideally I would like to do this via my shell...

Many thanks for any ideas, Matthias

-- MatthiasRoeder - 2010-10-02

Discussion and Answer

Bulk handling of attachments is currently being discussed at HideAttachments, bulk handling of pages is not yet planned.

TWiki is open source. I invite you to help define the spec (and implement?) bulk handling of pages. Start by proposing a feature with spec at Codev.TWikiFeatureProposals.

For now you can mass-move/delete topics on the shell. Structure:

  • twiki/data/ -- root of pages
  • twiki/data/Sandbox/ -- sample web
  • twiki/data/Sandbox/TestPage1.txt & TestPage1.txt,v -- sample page with history in that web
  • twiki/data/Sandbox/TestPage2.txt & TestPage2.txt,v -- sample page with history in that web
  • twiki/data/Trash/ -- trash web
  • twiki/pub/ -- root of attachments
  • twiki/pub/Sandbox/ -- sample web
  • twiki/pub/Sandbox/TestPage1/ -- container for attachments for sample page (only exists if there are attachments on that page)
  • twiki/pub/Sandbox/TestPage1/image1.jpg & image1.jpg,v -- sample attachment in that page, with history
  • twiki/pub/Trash/ -- trash web for attachments

Move pages with its history file. Check if the page has attachments and move that if that is the case. To delete pages, move them to the Trash web (as well as its attachment directory if it exists).

-- PeterThoeny - 2010-10-02

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Delete Multiple Topics?
SupportCategory CategoryMissingFunctionality
TWiki version 4.1.2
Server OS

Web server

Perl version

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2010-10-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.