summaryrefslogtreecommitdiff
path: root/bin/tweetImages
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-03-19 18:59:04 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-03-19 18:59:04 -0400
commita4216f9646aeea73c1454d22c0ba856ee3e82edd (patch)
tree0f83215d6f49283c2cffd605db0b3aa1cc5504ac /bin/tweetImages
initial commit
Diffstat (limited to 'bin/tweetImages')
-rwxr-xr-xbin/tweetImages11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/tweetImages b/bin/tweetImages
new file mode 100755
index 0000000..474caee
--- /dev/null
+++ b/bin/tweetImages
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Usage: $0 TEXT FILES...
+export JAVA_HOME=/usr/local/frc/JRE
+
+for file in /home/lvuser/tweeterbot/lib/*.jar; do
+ CLASSPATH="$CLASSPATH:$file"
+done
+export CLASSPATH
+
+cd /home/lvuser/tweeterbot/etc
+"$JAVA_HOME/bin/java" -Xms30m -Xmx30m -cp "$CLASSPATH" twitter4j.examples.tweets.UploadMultipleImages "$@"