source:
valtobtest/subversion-1.6.2/tools/dist/extract-for-examination.sh
@
3
Last change on this file since 3 was 3, checked in by , 15 years ago | |
---|---|
|
|
File size: 212 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | |
3 | for i in *.tar.bz2; do |
4 | base=${i%.tar.bz2}-tar-bz2 |
5 | mkdir $base |
6 | cd $base |
7 | tar -jxvf ../$i |
8 | cd .. |
9 | done |
10 | |
11 | for i in *.zip; do |
12 | base=${i%.zip}-zip |
13 | mkdir $base |
14 | cd $base |
15 | unzip ../$i |
16 | cd .. |
17 | done |
Note: See TracBrowser
for help on using the repository browser.