PRI_2020-FE/backend/unpack.sh

7 lines
138 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
mv $forum $(echo $forum | cut -f2 -d'/')
done