Page 1 of 1
					
				Clear "Rename History"
				Posted: 24 Jun 2013, 17:11
				by ZaPHoN
				I've been trying to figure out how to clear the rename history. Could someone give me some direction please?
OS Ubuntu 11.10
Filebot v3.6.1
Thanks
			 
			
					
				Re: Clear "Rename History"
				Posted: 24 Jun 2013, 17:20
				by rednoah
				Just delete 
history.xml in 
application.dir. On Linux that should be in 
~/.filebot. You can delete the whole 
~/.filebot if you want.
Here's a filebot script that'll delete the history file:
Code: Select all
filebot -script "g:net.sourceforge.filebot.HistorySpooler.instance.persistentHistoryFile.delete()"
 
			
					
				Re: Clear "Rename History"
				Posted: 24 Jun 2013, 19:44
				by ZaPHoN
				Thanks a bunch
			 
			
					
				Re: Clear "Rename History"
				Posted: 30 Mar 2018, 19:10
				by phibins
				rednoah wrote: ↑24 Jun 2013, 17:20
Here's a filebot script that'll delete the history file:
Code: Select all
filebot -script "g:net.sourceforge.filebot.HistorySpooler.instance.persistentHistoryFile.delete()"
 
Hey, this no longer works. (I get error : MissingPropertyException: No such property: net)
When I replace "g:net..." with "dev:net..." I get "no such resource".
I looked at your documentation and the github page with all the groovy scripts, and i cannot find a way to delete history.
 
			
					
				Re: Clear "Rename History"
				Posted: 31 Mar 2018, 12:21
				by rednoah
				This snippet from 2013 no longer works. You can find the 
history.xml file and delete it.
You can use this snippet to find the location of the 
history.xml file:
Code: Select all
filebot -script "g:println net.filebot.HistorySpooler.instance.persistentHistoryFile"
 
			
					
				Re: Clear "Rename History"
				Posted: 14 Feb 2019, 23:21
				by cthulhu5
				Code: Select all
find ~/.filebot/ -name history.xml
 shows no files for me on macOS. But I was replacing the .filebot dir with a tarball I took when I had a small history, but that apparently got me banned unexpectedly (in fact, I am hoping this message allows me to PM - I am still trying to figure out how to ask for my license back). It's possible I removed the history by accident before making the tarball.
 
			
					
				Re: Clear "Rename History"
				Posted: 15 Feb 2019, 07:29
				by rednoah
				The internal history has absolute nothing to do with license activation, and deleting it has no effect on a license that has been flagged by the license activation system.
If you get the 
License Error: Banned due to abuse error message, please read this:
viewtopic.php?f=4&t=9594 
			
					
				Re: Clear "Rename History"
				Posted: 30 Apr 2019, 14:06
				by sighunter
				sorry to revive this old thread but I am investigating a rename problem:

and I believe this is due to the rename history as I have renamed the first 4 files some months ago 
(when the thetvdb entry was not yet present)
and I can't find my history.xml to delete. Win10 Store version
the snippet tells me where the file is supposed to be but it's not there
# filebot -script "g:println net.filebot.HistorySpooler.instance.persistentHistoryFile"
C:\Users\me\AppData\Roaming\FileBot\history.xml
How can I do this with Win10 Store version?
 
			
					
				Re: Clear "Rename History"
				Posted: 30 Apr 2019, 15:20
				by rednoah
				1.
The rename history has no effect on marching. 
2.
See FAQ for details where UWP app data is stored. 
Due to UWP file system isolation, certain file paths get redirect, so the file paths FileBot thinks it's using aren't actually the ones being used.
			 
			
					
				Re: Clear "Rename History"
				Posted: 30 Apr 2019, 20:03
				by sighunter
				rednoah wrote: ↑30 Apr 2019, 15:20
1.
The rename history has no effect on marching. 
2.
See FAQ for details where UWP app data is stored. 
Due to UWP file system isolation, certain file paths get redirect, so the file paths FileBot thinks it's using aren't actually the ones being used.
 
thanks for clearing that up, I was not sure if this had even an effect on matching
 
			
					
				Re: Clear "Rename History"
				Posted: 01 May 2019, 03:10
				by rednoah
				Can you point out why this is incorrect? Looks perfectly reasonable to me.
 
EDIT:
I see. It's the 2013 vs 2018 thing. If files are already xattr tagged, then you might need to clear xattr first, because xattr to affect matching.
viewtopic.php?f=3&t=324
 
 If you use the History to revert files to their original names, then xattr will be cleared as well for these files.
 
			
					
				Re: Clear "Rename History"
				Posted: 01 May 2019, 06:38
				by sighunter
				thanks! this was indeed the cause of my problems:
Code: Select all
# filebot -mediainfo --format "{json}" "D:\Serien\The Romanoffs (2018)\Staffel 1\The Romanoffs (2018) S01E01 [1080p H.264 Web-DL E-AC3 5.1 Eng].mkv"
{"@type":"Episode","seriesName":"The Romanovs","season":1,"episode":1,"title":"The Beginning Of A Dynasty","airdate":{"year":2013,"month":11,"day":4},"id":4719830,"seriesInfo":{"database":"TheTVDB","order":"Airdate","language":"en","id":275598,"name":"The Romanovs","aliasNames":["Romanovs","The Romanovs (2013)"],"certification":"TV-14","startDate":{"year":2013,"month":11,"day":4},"genres":["Documentary","Drama"],"network":"?????? ?????","rating":10.0,"ratingCount":2,"runtime":50,"status":"Ended"}}
after I cleared the ntfs alternate streams they all match correctly

 
			
					
				Re: Clear "Rename History"
				Posted: 28 Jan 2023, 16:19
				by rednoah