diff options
| author | dvs1 | 2025-01-09 14:31:04 +1000 |
|---|---|---|
| committer | dvs1 | 2025-01-09 14:31:04 +1000 |
| commit | e29a5ebab92fed878e035aa172dce2890494bc53 (patch) | |
| tree | 4713e29bf39facc77bad70cf5f08264a17e212ae /SuckIt | |
| parent | Update the Foswiki URL. (diff) | |
| download | notYetAnotherWiki-e29a5ebab92fed878e035aa172dce2890494bc53.zip notYetAnotherWiki-e29a5ebab92fed878e035aa172dce2890494bc53.tar.gz notYetAnotherWiki-e29a5ebab92fed878e035aa172dce2890494bc53.tar.bz2 notYetAnotherWiki-e29a5ebab92fed878e035aa172dce2890494bc53.tar.xz | |
Run the conversion scripts in the Devuan wiki's hard coded paths.
Diffstat (limited to '')
| -rwxr-xr-x | SuckItFos | 6 | ||||
| -rwxr-xr-x | SuckItPm | 6 |
2 files changed, 10 insertions, 2 deletions
| @@ -10,7 +10,9 @@ filter=" | |||
| 10 | -name TWiki -prune -o \ | 10 | -name TWiki -prune -o \ |
| 11 | " | 11 | " |
| 12 | 12 | ||
| 13 | find ../Foswiki/data ${filter} \ | 13 | pushd /opt/merged |
| 14 | |||
| 15 | find /opt/Foswiki/data ${filter} \ | ||
| 14 | -name "*.txt" -type f,l -printf "%P\n" | while read line | 16 | -name "*.txt" -type f,l -printf "%P\n" | while read line |
| 15 | do | 17 | do |
| 16 | base=`echo "${line}" | cut -d '/' -f 1` | 18 | base=`echo "${line}" | cut -d '/' -f 1` |
| @@ -52,3 +54,5 @@ do | |||
| 52 | done | 54 | done |
| 53 | 55 | ||
| 54 | notYetAnotherWiki.lua | 56 | notYetAnotherWiki.lua |
| 57 | |||
| 58 | popd | ||
| @@ -10,7 +10,9 @@ filter=" | |||
| 10 | -not -name ".pageindex" -a \ | 10 | -not -name ".pageindex" -a \ |
| 11 | " | 11 | " |
| 12 | 12 | ||
| 13 | find ../pmwiki/wiki.d ${filter} \ | 13 | pushd /opt/merged |
| 14 | |||
| 15 | find /opt/pmwiki/wiki.d ${filter} \ | ||
| 14 | -name "*.*" -type f,l -printf "%P\n" | while read line | 16 | -name "*.*" -type f,l -printf "%P\n" | while read line |
| 15 | do | 17 | do |
| 16 | base=`echo "${line}" | cut -d '.' -f 1` | 18 | base=`echo "${line}" | cut -d '.' -f 1` |
| @@ -57,3 +59,5 @@ echo "<hr/><p><a href=\"${URL}/?n=${base}.${file}\">Original page</a> where you | |||
| 57 | done | 59 | done |
| 58 | 60 | ||
| 59 | notYetAnotherWiki.lua | 61 | notYetAnotherWiki.lua |
| 62 | |||
| 63 | popd | ||
