summaryrefslogtreecommitdiff
path: root/postpost/bring_all_avis
diff options
context:
space:
mode:
Diffstat (limited to 'postpost/bring_all_avis')
-rwxr-xr-xpostpost/bring_all_avis17
1 files changed, 17 insertions, 0 deletions
diff --git a/postpost/bring_all_avis b/postpost/bring_all_avis
new file mode 100755
index 0000000..eb9f1f5
--- /dev/null
+++ b/postpost/bring_all_avis
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+for t in $1*
+do
+ if [ -e $t ]
+ then
+ for s in $t/Post/*.avi
+ do
+ if [ -e $s ]
+ then
+ echo $s;
+ cp "$s" "`basename $t`_`basename $s`";
+ fi
+ done
+ fi
+done
+