From 4163cb4083ff80ef8f3a52e2444a424ee12e2321 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 18 May 2011 17:50:51 +0200 Subject: Fix progress message + hashl ignore --- bin/hashl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/hashl b/bin/hashl index 979994e..6ae59c4 100755 --- a/bin/hashl +++ b/bin/hashl @@ -150,7 +150,7 @@ sub process_file { if ($show_progress) { print STDERR $timer->report( - "\r\e[Scanning directory: %p done, %L elapsed, %E remaining", + "\r\e[2KScanning directory: %p done, %L elapsed, %E remaining", $cur, ); } @@ -280,7 +280,7 @@ sub cmd_ignore { $find_ref = \&db_ignore; $find_db_write = 1; - find(\&process_file, $base); + find(\&process_file, $ign_dir); $hashl->save($db_file); print "\n"; } -- cgit v1.2.3