further changes in mediawiki and initial upload script is ready
This commit is contained in:
parent
01391cc710
commit
b3a480be3e
3 changed files with 112 additions and 9 deletions
8
scripts/moin2mw/upAttach.sh
Normal file
8
scripts/moin2mw/upAttach.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue