TC-A 2.62 Feature Request: clear search histroy

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
aboutblank
Junior Member
Junior Member
Posts: 7
Joined: 2014-11-11, 22:54 UTC

TC-A 2.62 Feature Request: clear search histroy

Post 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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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.
Last edited by ghisler(Author) on 2015-11-09, 09:33 UTC, edited 1 time in total.
Author of Total Commander
https://www.ghisler.com
PackElend
Junior Member
Junior Member
Posts: 3
Joined: 2014-04-13, 16:56 UTC

Post 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
aboutblank
Junior Member
Junior Member
Posts: 7
Joined: 2014-11-11, 22:54 UTC

Post 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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You are rught, it was a typo, sorry.
Author of Total Commander
https://www.ghisler.com
deetroi
New Member
New Member
Posts: 1
Joined: 2018-01-10, 12:19 UTC

Post 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 :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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
Author of Total Commander
https://www.ghisler.com
Post Reply