Skip to content
Snippets Groups Projects
Commit 14ef6efa authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

updated notes

parent 52349234
No related branches found
No related tags found
No related merge requests found
...@@ -136,15 +136,17 @@ print __LINE__, " scan_dir: quick=[$quick]\n"; ...@@ -136,15 +136,17 @@ print __LINE__, " scan_dir: quick=[$quick]\n";
} }
else else
{ {
print "updated: $fp\n"; print "UPD: $fp\n";
$cnt_updated++; $cnt_updated++;
} }
} }
else else
{ {
print "added: $fp\n"; print "ADD: $fp\n";
$cnt_added++; $cnt_added++;
} }
# NOTE: below we are checking for deleted
} }
my $n= parse Tomboy::Note::Simple ($fp); my $n= parse Tomboy::Note::Simple ($fp);
...@@ -172,11 +174,11 @@ print __LINE__, " scan_dir: quick=[$quick]\n"; ...@@ -172,11 +174,11 @@ print __LINE__, " scan_dir: quick=[$quick]\n";
closedir (DIR); closedir (DIR);
# TODO: list dropped files # TODO: list dropped/deleted files
print __LINE__, " fnm: ", Dumper (\%fnm); print __LINE__, " fnm: ", Dumper (\%fnm);
foreach my $fp (keys %fnm) foreach my $fp (keys %fnm)
{ {
print "dropped: ", $fp, "\n"; print "DEL: ", $fp, "\n";
$cnt_dropped++; $cnt_dropped++;
} }
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment