Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Organize better wiki page updates in git & operational simpliwiki.com…
… site
- Loading branch information
1 parent
9e12a32
commit 9297094
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
echo Update simpli wiki pages | ||
cd ~ | ||
cd SimpliWiki | ||
cd simpli | ||
cd simplijs | ||
cd wiki | ||
pwd | ||
for file in *; do | ||
f=$(basename $file); | ||
other_f="../../../virteal/wiki/$f"; | ||
if [ "$f" -nt "$other_f" ]; then | ||
echo Updating $f | ||
cp -f "$f" "$other_f" | ||
git add "$f" | ||
fi | ||
done | ||
|
||
cd .. | ||
echo "Done" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters