summaryrefslogtreecommitdiff
path: root/bin/tweetImages
diff options
context:
space:
mode:
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 "$@"