Marking files for delete from within MPlayer

Jurjen Bokma

July 2011

I grab my home videos from tape using dvgrab, and have it automatically split scenes. This generates many .dv files, some of which I decide to not even process. I wanted to be able to press a key from mplayer in order to mark them for deletion. This is how I did it:

That does the trick: the file /tmp/delete-candidates gets filled with the filenames of the files playing while I pressed Delete Of course it would've been nicer if I wouldn't have had to fetch those filenames from /proc. Oh wel...