Page MenuHomeDevCentral
Paste P366

import-woof-archiv.py
ActivePublic

Authored by dereckson on Sat, Oct 19, 00:15.
Tags
None
Referenced Files
F3669418: import-woof-archiv.py
Sat, Oct 19, 00:15
Subscribers
None
#!/bin/sh
set -e
BASE_DIR=$HOME/dev/nasqueron/wurf/archiv
DATE="Fri Dec 31 23:59:59 2004 +0000"
for file in $(grep fileserv /tmp/all.txt)
do
cp $BASE_DIR/$file fileserv.py
git add fileserv.py
git commit -m "Import archive of $file" --author="Simon Budig <simon@budig.de>" --date="$DATE"
done
git mv fileserv.py woof.py
for file in $(grep woof /tmp/all.txt)
do
cp $BASE_DIR/$file woof.py
git add woof.py
git commit -m "Import archive of $file" --author="Simon Budig <simon@budig.de>" --date="$DATE"
done