extended unpack script
This commit is contained in:
parent
36c47993ac
commit
2c62499cbb
5
backend/unpack.sh
Normal file → Executable file
5
backend/unpack.sh
Normal file → Executable file
@ -1,3 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
tar -xvf backup* activities/forum_*/forum.xml
|
||||
for forum in $(tar --wildcards -xvf backup* activities/forum_*/forum.xml)
|
||||
do
|
||||
mv $forum $(echo $forum | cut -f2 -d'/')
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user