Page 1 of 1

TC-A 2.62 Feature Request: clear search histroy

Posted: 2015-10-30, 22:52 UTC
by aboutblank
Search terms are saved in the "+" list "forever", as there is to my knowledge no way of clearing old search terms from the list, which grows longer and longer with every new search.

If there were a mechanism for clearing old terms from the list, that would be a nice feature. My suggestion would be to place a button on the search term screen allowing the user to clear the entire list, after affirming the selection. Also, allowing individual search terms to be cleared with a 'flick' would be very convenient.

aboutblank
October 30, 2015

Posted: 2015-11-02, 10:03 UTC
by ghisler(Author)
Currently you can only delete the history by creating a button with command type: Change directory
and Command: /data/data/com.ghisler.android.TotalCommander

- then tap on the button and go to shared_prefs subfolder.
- delete the file historyPrefs.xml
- close Total Commander via task manager

This works without root rights.

Posted: 2015-11-05, 17:26 UTC
by PackElend
Hallo,
will there be any filter options in the next RC?
How's about seraching for folders only?

I'm asking it since finding something in the android data data folder is quite hard if you don't exactly for what folder your are lookging for (an app can beginn with org., com., ...)

thx

stefan

Posted: 2015-11-07, 17:15 UTC
by aboutblank
- then tap on the button and go to shared_prevs subfolder.
- delete the file historyPrevs.xml
- close Total Commander via task manager
Thanks very much for the info! I noted that on my device, the subfolder was "shared_prefs" and the file "historyPrefs.xml". The file can be edited, but it's a little tricky, but doable if one is careful!

To get the changes to show, I exited TC, opened "App info", forced stopped TC, then cleared the cache. Upon re-entering TC, I could search, press the "+" key, and see my changes.

Thanks again!

aboutblank
November 7, 2015

Posted: 2015-11-09, 09:34 UTC
by ghisler(Author)
You are rught, it was a typo, sorry.

Posted: 2018-01-10, 12:37 UTC
by deetroi
hi.
so glad to find this forum topic. however, i can't find either shared_prefs subfolder or historyPrefs.xml. i am using TC fo Android 2.80, on an Android 5. My TC settings are set to show hidden files/folders.

Have these been renamed or relocated since? my search history/list is quite long now. i rely on TC for it but would like to reset the list periodically.

btw, i found Android/data/com.ghisler.android.TotalCommander with subfolders cache, files and temp. both files and temp are empty. cache has a few files but no .xml.


thanks :)

Posted: 2018-01-11, 10:05 UTC
by ghisler(Author)
That's not the right location - that's for data stored on the publicly accessible part of the internal storage.

Instead, create a button with type "change directory" with command:
/data/data/com.ghisler.android.TotalCommander

Note that it starts with /data