]> git.mdlowis.com Git - projs/tide.git/commitdiff
Added wrapper scripts for pick
authorMichael D. Lowis <mike.lowis@gentex.com>
Wed, 9 Nov 2016 21:35:11 +0000 (16:35 -0500)
committerMichael D. Lowis <mike.lowis@gentex.com>
Wed, 9 Nov 2016 21:35:11 +0000 (16:35 -0500)
xdirpick [new file with mode: 0755]
xfilepick [new file with mode: 0755]

diff --git a/xdirpick b/xdirpick
new file mode 100755 (executable)
index 0000000..7d31347
--- /dev/null
+++ b/xdirpick
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ "$#" -ne 1 ]; then
+    echo "Usage: $0 <dir>"
+    exit 1
+fi
+find $1 | ./xpick
diff --git a/xfilepick b/xfilepick
new file mode 100755 (executable)
index 0000000..10a91cf
--- /dev/null
+++ b/xfilepick
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ "$#" -ne 1 ]; then
+    echo "Usage: $0 <dir>"
+    exit 1
+fi
+find $1 -type f | ./xpick