PRI_2020-FE/backend/unpack.sh

9 lines
161 B
Bash
Raw Normal View History

2020-04-02 23:29:09 +02:00
#!/bin/bash
2020-04-03 10:14:05 +02:00
for forum in $(tar --wildcards -xvf backup* activities/forum_*/forum.xml)
do
2020-04-18 20:38:46 +02:00
mv $forum $(echo $forum | cut -f2 -d'/').xml
2020-04-03 10:14:05 +02:00
done
2020-04-19 13:19:22 +02:00
rm -rf activities