Answer the question
In order to leave comments, you need to log in
How to take a snapshot of a folder in Linux, then another one after a while, and compare to find out what files appeared?
For example, I scanned a folder, then installed the program, worked with it. Then I took another picture, compared it and showed me the new files and folders that were created, as well as the changed ones. Under windows there are such programs (I forgot the name), I'm looking for under linux. Thank you!
Answer the question
In order to leave comments, you need to log in
$ ls -lR > before
...
$ ls -lR > after
$ diff -u before after
It seems you have grown to a version control system))
Well, if in essence, then, for example, a copy of the source folder + the diff command.
But if there are text files or small files in the folder, then definitely google "version control systems".
In addition to the diff, you will also see the changes themselves, by type they deleted such and such a word in such and such a line.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question