If you want to remove certain items (say everything that matches "potato") is there an easy way to do it?
It becomes a bit tiresome moving the mouse all the way to the right to click on delete, and then left to click on remove and then back to the right and then back to the middle etc etc
Selective history deletion
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: Selective history deletion
rm *potato*
mv *potato*
details depend on operating system
mv *potato*
details depend on operating system
-
Handyman1984
- Newbie

- Posts: 24
- Joined: April 11th, 2012, 5:20 am
Re: Selective history deletion
I think dcuritois means in the plush skin sander.
It's not a solution, but:
You can also use your keyboard to navigate. Especially [Tab] and [Enter] might help you, combined with the mouse...
It's not a solution, but:
You can also use your keyboard to navigate. Especially [Tab] and [Enter] might help you, combined with the mouse...
Re: Selective history deletion
Handyman1984 wrote:I think dcuritois means in the plush skin sander.
Heh, yeah I didn't understand that at all.
I thought sabnzbd was just the interface running in the browser, but it is more?
Thanks for the tip.Handyman1984 wrote: It's not a solution, but:
You can also use your keyboard to navigate. Especially [Tab] and [Enter] might help you, combined with the mouse...
Is the information stored in a database one is expected to handle by external means?
Re: Selective history deletion
Yes, the download history is stored in a SQLite3 database. The file is called history1.dbdcuritois wrote:
Is the information stored in a database
I would say no. However, you *can* ...dcuritois wrote: ... one is expected to handle by external means?
So if you know what you're doing, and you speak SQL, you could access that file. You could use sqlitebrowser (see http://sqlitebrowser.sourceforge.net/ ) for that.
Re: Selective history deletion
Yeah, I don't know what I'm doing, so I guess I better not.
Re: Selective history deletion
dcuritois wrote:Yeah, I don't know what I'm doing, so I guess I better not.
SQL is new to me, so I tried a few things from sqlitebrowser.These are the command I used:
Code: Select all
SELECT *
FROM history
WHERE name LIKE "%2012%"
DELETE FROM history
WHERE name LIKE "%2012%"Hey, and it also works from the command line:
Code: Select all
sander@R540:~/.sabnzbd/admin$ sqlite3 testje.db "SELECT * FROM history WHERE name LIKE '%2010%' ;" | wc -l
10
sander@R540:~/.sabnzbd/admin$ sqlite3 testje.db "DELETE FROM history WHERE name LIKE '%2010%' ;" | wc -l
0
sander@R540:~/.sabnzbd/admin$ sqlite3 testje.db "SELECT * FROM history WHERE name LIKE '%2010%' ;" | wc -l
0
sander@R540:~/.sabnzbd/admin$ The first command looks up all downloads with "2010" in the name. There are 10 lines of output.
The second command deletes those downloads from the history
The third command shows that those entries are really deleted.
FYI: testje.db is a copy of SAB's history1.db
So this way you can select certain downloads (in this case: based on a word in the download), and delete them.
HTH
Re: Selective history deletion
Oh, that's very cool sander - I'll have to give that a shot 
Thanks!
Thanks!