# HG changeset patch # User Jeff Hammel # Date 1288299935 25200 # Node ID 35d28c0a6ba3a66d0143eec517c329d38f8f051c # Parent 8b15a38ccd0f871962bfa343b65e963d1d268396 fix find command diff -r 8b15a38ccd0f -r 35d28c0a6ba3 .bashrc --- 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}"