Skip to content

Commit 329c76c

Browse files
authored
Marked files are now stored
- Fixed typo - Marked files are now stored - Updated FF_SEARCH_VERSION
1 parent 9540a6c commit 329c76c

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

FF_Duplicated.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,9 @@ def generate_button(text, command, icon=None):
515515
time_needed_dict["time_after_building_ui"] = perf_counter()
516516

517517
logging.info(f"\nSeconds needed:\n"
518-
f"Finding duplicates: {time_needed_dict['time_before_building_ui'] - time_needed_dict['start_time']}\n"
519-
f"Building UI: "
518+
"Finding duplicates: "
519+
f"{time_needed_dict['time_before_building_ui'] - time_needed_dict['start_time']}\n"
520+
"Building UI: "
520521
f"{time_needed_dict['time_after_building_ui'] - time_needed_dict['time_before_building_ui']}\n"
521522
f"Total: {time_needed_dict['time_after_building_ui'] - time_needed_dict['start_time']}")
522523

FF_Files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
import hashlib
1818

1919
# Versions
20-
VERSION: str = "4-feb-2025"
20+
VERSION: str = "5-feb-2025"
2121
VERSION_SHORT: str = "1.2"
2222
# Versions of file formats
2323
FF_FILTER_VERSION = 1
24-
FF_SEARCH_VERSION = 1
24+
FF_SEARCH_VERSION = 2
2525
FF_SETTINGS_VERSION = 1
2626
FF_CACHE_VERSION = 2
2727

FF_Search_UI.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,10 @@ def save_search():
161161
export_file.write(save_file + "\n")
162162
elif save_file.endswith(".FFSearch") and not os.path.exists(save_file):
163163
with open(save_file, "w") as export_file:
164-
dump({"VERSION": FF_Files.FF_SEARCH_VERSION, "matched_list": self.matched_list}, export_file)
164+
dump(
165+
{"VERSION": FF_Files.FF_SEARCH_VERSION,
166+
"matched_list": self.matched_list,
167+
"marked_files": menu_bar.marked_files}, export_file)
165168

166169
# Building Menu-bar
167170
menu_bar = FF_Menubar.MenuBar(

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ Q: **Why doesn't File Find find my file/folder?**
202202
A: By default (on a fresh install) File Find finds every file/folder except internal system files in the `Library` or `System` folders.
203203
You can enable them under "Advanced".
204204

205-
File Find uses it's own caching algorithm. Scanning results are stored and reused for a faster search.
206-
On default this cache gets cleared every two hours. You can clear the cache manually with `⌘ + T` on macOS (on Windows/Linux: `Ctrl + T`). Or right click on the `Find` button and select `Search and create new cache for selected folder`.
205+
File Find uses its own caching algorithm. Scanning results are stored and reused for a faster search.
206+
On default this cache gets cleared every two hours. You can clear the cache manually with `⌘ + T` on macOS (on Windows/Linux: `Ctrl + T`). Or right-click on the `Find` button and select `Search and create new cache for selected folder`.
207207

208208
Also check the excluded files list in the settings. Files listed there will not show up. Other than that press `⌘ + R` on macOS (on Windows/Linux: `Ctrl + R`) to reset all filter settings to default.
209209
If none of these options help, [create a Bug Report.](#bug-reports)
@@ -215,8 +215,8 @@ A: It is possible that for example reloading files or building the UI at the end
215215

216216
Q: **How do I clean the cache?**
217217

218-
A: File Find uses it's own caching algorithm. Scanning results are stored and reused for a faster search.
219-
On default this cache gets cleared every two hours. You can change this behavior in the preferences. You can clear the cache manually with `⌘ + T` on macOS (on Windows/Linux: `Ctrl + T`). Or right click on the `Find` button and select `Search and create new cache for selected folder`.
218+
A: File Find uses its own caching algorithm. Scanning results are stored and reused for a faster search.
219+
On default this cache gets cleared every two hours. You can change this behavior in the preferences. You can clear the cache manually with `⌘ + T` on macOS (on Windows/Linux: `Ctrl + T`). Or right-click on the `Find` button and select `Search and create new cache for selected folder`.
220220

221221
Q: **Why does File Find ask for permission for Contacts, Calenders, Photos, etc...?**
222222

0 commit comments

Comments
 (0)