summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-18 17:50:51 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-18 17:50:51 +0200
commit4163cb4083ff80ef8f3a52e2444a424ee12e2321 (patch)
tree344f1c71d9f46f66ce555551a0739f635c782dc7 /bin
parent47bef894401f771e9a28aa7106dde962819483d7 (diff)
Fix progress message + hashl ignore
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hashl4
1 files 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";
}