Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3669418
import-woof-archiv.py
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
dereckson
Oct 19 2024, 00:15
2024-10-19 00:15:05 (UTC+0)
Size
532 B
Referenced Files
None
Subscribers
None
import-woof-archiv.py
View Options
#!/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
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2204041
Default Alt Text
import-woof-archiv.py (532 B)
Attached To
Mode
P366 import-woof-archiv.py
Attached
Detach File
Event Timeline
Log In to Comment