rTorrent: Automatically erase data when torrent is removed?

method.set_key = event.download.erased, remove_file,"execute={rm,-drf,--,$d.get_base_path=}"

for rtorrent 0.9.2


It works with 0.9.7 and the latest version (0.9.8):

method.set_key = event.download.erased,delete_erased,"execute=rm,-rf,--,$d.base_path="

You need to add this line in .rtorrent.rc file.