PRI_2020-FE/backend/unpack.sh
2020-04-19 13:19:22 +02:00

9 lines
161 B
Bash
Executable File

#!/bin/bash
for forum in $(tar --wildcards -xvf backup* activities/forum_*/forum.xml)
do
mv $forum $(echo $forum | cut -f2 -d'/').xml
done
rm -rf activities