TC-A 2.62 Feature Request: clear search histroy
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 7
- Joined: 2014-11-11, 22:54 UTC
TC-A 2.62 Feature Request: clear search histroy
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
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
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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.
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
https://www.ghisler.com
-
- Junior Member
- Posts: 7
- Joined: 2014-11-11, 22:54 UTC
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!- then tap on the button and go to shared_prevs subfolder.
- delete the file historyPrevs.xml
- close Total Commander via task manager
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
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
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

- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
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
https://www.ghisler.com