I have two directories, namely "before" and "after" , each of which has it's sub-directories and files.I want to display all the INCREMENTAL changes amongst these two folders from depth 1 level.
What is I mean is to compare the outputs of the following commands and display the differences. 1. find before/ -mindepth 1 2. find after/ -mindepth 1 After cimparison I want to display the following: a."A" before files/folders present ONLY in the after/ hierarchy(these will be deemed as newly added components) b. "D" before files/folders present ONLY in the before/ hierarchy(these will be deemed as deleted components) c. "M" before files/folders present in BOTH before/ and after/ hierarchies(these will be deemed as modified components)