diff .bashrc @ 102:35d28c0a6ba3

fix find command
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 28 Oct 2010 14:05:35 -0700
parents 8b15a38ccd0f
children e841c419199e
line wrap: on
line diff
--- a/.bashrc	Thu Oct 28 13:05:56 2010 -0700
+++ b/.bashrc	Thu Oct 28 14:05:35 2010 -0700
@@ -298,7 +298,7 @@
   fi
   cd $directory
   unset find # don't use the alias
-  find -name '*' -type f | sed 's/.\///' | while read line
+  find . -name '*' -type f | sed 's/.\///' | while read line
   do
       filename=$(echo $line | sed 's/\//-/g')
       mv "${line}" "${filename}"