Is it possible for ranger to record file/folder actions? I'm looking for a logging feature for every file/folder action done in ranger.
1 Answer
As of now, this issue says it has not yet been implemented. It would seem that if you went ahead and added the necessary code, that would be received positively.
The changes you would have to make would be rather straightforward:
As in line 1633 of actions.py,
self.notify("Deleting {fls}!".format(fls=", ".join(files)))
you add a self.notify(…) to all the actions (rename, copy…) that seem relevant.
Happy hacking!