Changes between Version 2 and Version 3 of TracMaintenance


Ignore:
Timestamp:
Sep 17, 2012 9:56:35 AM (5 years ago)
Author:
planetcruiser
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracMaintenance

    v2 v3  
    1212"reassign to" select box of a ticket. In this case it will be every user 
    1313that logged in less than a year ago. 
     14 
     15== Bulk remove trac tickets == 
     16When in need to remove several tickets at once, i.e. when fighting spam, type this: 
     17{{{ 
     18root@lamb:~$ for n in $(cat spam-list.txt); do trac-admin /var/local/trac/bewelcome/ ticket remove $n; done 
     19}}} 
     20spam-list.txt needs to be a flat list of tickets with one number per line. Alternatively you can use "for n in 123 445 666;" to start the for loop.