On 07/28/2018 02:10 AM, Kai Willadsen wrote:
However, I'm not sure that I understand what the goal is here. I think
you're basically asking for folder comparison to not descend into
directories? Are the subdirectories too big to compare or something?
I only want folder comparsion _without_
Hi Meld-Team,
Sometimes I want to compare two directories without subdirectories.
The best way would be a new option to allow that
like in Windows "windiff.exe" option "-d".
My workaround for the time being is:
mkdir tmp1
mkdir tmp2
cp dir1/* tmp1
cp dir1/.* tmp1
cp dir2/* tmp2
cp dir2/.*
Meanwhile I wrote a script to compare two directories without
subdirectories.
It should run at least with Debian Buster and Bash 4.4.
The script copies the files to temporary directories using symbolic links,
so you can change the original files later.
Example:
mymeld -d . subdir # compare