further changes in mediawiki and initial upload script is ready

This commit is contained in:
Mike McGrath 2008-05-05 13:41:29 -05:00
parent 01391cc710
commit b3a480be3e
3 changed files with 112 additions and 9 deletions

View file

@ -0,0 +1,8 @@
#!/bin/bash
for f in `find -type f | grep attachment`
do
dest=`echo $f | sed -e 's,/attachments,,' -e 's,./,,' -e 's/(2f)/_/' -e 's,/,_,g'`
src=$f
echo "/root/mw-upload.py '$src' '$dest'"
done