diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-05-18 17:50:51 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-05-18 17:50:51 +0200 |
commit | 4163cb4083ff80ef8f3a52e2444a424ee12e2321 (patch) | |
tree | 344f1c71d9f46f66ce555551a0739f635c782dc7 /bin | |
parent | 47bef894401f771e9a28aa7106dde962819483d7 (diff) |
Fix progress message + hashl ignore
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hashl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"; } |