1

How can I record all the modifications to directories, subdirectories and files made during one session (ie. during login time)?

For example, listing all the files/folders that were modified, and placing that information into a text file.

I have no idea how to do this, so even a little guidance would be useful...

3

1 Answer 1

2

Use inotifywatch to collect statistics and redirect the output.

$ inotifywatch -r $HOME > /path/to/log

http://linux.die.net/man/1/inotifywatch

Or use inotifywait to get a change-by-change, file-by-file update.

$ inotifywait -mr $HOME > /path/to/log

http://linux.die.net/man/1/inotifywait

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .