5
rated 0 times
[
5]
[
0]
/ answers: 1 / hits: 739
/ 2 Years ago, sat, july 2, 2022, 8:20:31
Scenario:
- 2 main folders, that may have subfolders with the same names (I do not know what names might be duplicated, that's what I am trying to find)
- the subfolders have MANY other files & subfolders so tools with automatic recursion are not really an option
- I only care about duplicate subfolder names on the first level of the two main folders
- contents of the subfolders don't matter
- contents of the files don't matter
I tried using meld
GUI but that just takes endless time to finish for these structures.
I tried using diff --brief --report-identical-files folder1 folder2
but that basically reports everything and it does not even include the folders so I can't even | grep identical
.
Am I using wrong tools? Or is there some trick that I didn't get from diff --help
? Or am I doing something wrong?
Thanks
More From » command-line