projects
/
my-code
/
dfb-photoshow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
339e646
)
oups, first wrapper ;)
author
hackbard
<hackbard>
Tue, 25 Feb 2003 03:59:28 +0000
(
03:59
+0000)
committer
hackbard
<hackbard>
Tue, 25 Feb 2003 03:59:28 +0000
(
03:59
+0000)
showdir
[new file with mode: 0755]
patch
|
blob
diff --git a/showdir
b/showdir
new file mode 100755
(executable)
index 0000000..
2e7d71b
--- /dev/null
+++ b/
showdir
@@ -0,0
+1,26
@@
+#!/bin/sh
+
+# author: hackbard
+# searches for pictures to present
+
+usage() {
+ echo "$0 usage: $0 <sec> <dir>"
+ echo
+}
+
+if [ "$#" <= "2" ]; then
+ usage
+ exit 0
+fi
+
+dir="$2"
+
+files=`find $dir -name '*.jpg'`
+files="$files
+`find $dir -name '*.JPG'`"
+
+./dfb-photoshow $1 $files
+
+echo
+echo done
+