Permalink
Browse files

Make wgetdir a command

  • Loading branch information...
1 parent ec98d7c commit 6a5040a7fb4720c2a514e3cc57e77ca43b7a11c1 @dcramer committed Jun 14, 2013
Showing with 5 additions and 3 deletions.
  1. +0 −3 bash/bashrc
  2. +5 −0 bin/wgetdir
View
3 bash/bashrc
@@ -193,9 +193,6 @@ function killmergedbranches() {
git branch | grep -v master | xargs git branch -d 2>/dev/null
}
-function wgetdir() {
- wget -r -l1 $@
-}
function tfree() {
top -l1 -s0 | head -n11
}
View
5 bin/wgetdir
@@ -0,0 +1,5 @@
+#!/bin/sh
+#/ Usage: wgetdir <url>
+#/ Downloads all subpaths linked at location.
+
+wget -r -l1 $@

0 comments on commit 6a5040a

Please sign in to comment.