How to find the difference between two directory structures
Hi all,
How to find the difference between two directories, need a summary of all the added, updated, deleted files/directories. Like diff is for files, what is for directories? |
Quote:
a diff output of all the changes of same-named files in both dirs. It will also tell you which files exist only in the one (added) or the other dir (deleted). Depending on what you want the output may not be pretty/parseable but you can try it. |
Manually it can be done using find/grep/diff etc, but i need a tool for the purpose of saving time.
Pl Suggest any other quicker way. |
Code:
ls -AlR /dir1 > /tmp/dir1 |
All times are GMT -5. The time now is 02:54 PM. |