mirror of
https://github.com/silverstripe/silverstripe-textextraction
synced 2024-10-22 11:06:00 +02:00
7 lines
258 B
Bash
7 lines
258 B
Bash
|
#!/usr/bin/env bash
|
||
|
mkdir $HOME/bin
|
||
|
wget 'http://www.us.apache.org/dist/tika/tika-app-1.7.jar' -O "$HOME/bin/tika.jar"
|
||
|
echo -e '#!/usr/bin/env bash\nexec java -jar $HOME/bin/tika.jar "$@"' >> $HOME/bin/tika
|
||
|
chmod ug+x $HOME/bin/tika
|
||
|
$HOME/bin/tika --version
|