Delete files from a directory by reading directory report?
Posted: 21.09.2010, 13:46
Hello,
I have fond this interesting program and before I install it I want to make sure can it solve my problem. I want to achieve this:
1) I create a directory list (txt report) for a directory. The list contains all the files in the specified directory (including time stamps and all the other file info)
2) after some time (e.g. a month) when the contents of the directory changes I want to compare the actual content of the folder (changed after directory restoration from a DVD-R) with the previously generated directory list report (created before restoration from the DVD-R)
3) all the files in the directory which are NOT in the previously created directory list report have to be DELETED by the program
Is this possible?
If not directly is it possible to create a script? Does the program support scripting?
thank you
I have fond this interesting program and before I install it I want to make sure can it solve my problem. I want to achieve this:
1) I create a directory list (txt report) for a directory. The list contains all the files in the specified directory (including time stamps and all the other file info)
2) after some time (e.g. a month) when the contents of the directory changes I want to compare the actual content of the folder (changed after directory restoration from a DVD-R) with the previously generated directory list report (created before restoration from the DVD-R)
3) all the files in the directory which are NOT in the previously created directory list report have to be DELETED by the program
Is this possible?
If not directly is it possible to create a script? Does the program support scripting?
thank you