I have to run the following command:
sudo trac-admin /var/www/trac/kpi wiki remove *
* Doesn't work, so I need change it with actual wiki names.
I have wiki names saved in a file, every name on new line.
I would like to feed contents of file as variable per single line to the original command trac-admin. How do I do this?
command that helped me delete all wikis in trac was:
for x in `cat trac.kpi.wiki2`; do sudo trac-admin /var/www/trac/kpi wiki remove $x; done
Thanks!