You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to ignore certain subdirectories when recursively comparing directories? E.g., I want to compare /usr/src/project1 and /usr/src/project2 but I want to ignore everything under .git in those directories.
The text was updated successfully, but these errors were encountered:
Not yet.
A work-around for now that I've been using: hardlink copy the directory to a temporary area, then delete the "ignored" directories from there, and dircmp with the modified hardlinked directories.
eg. from /usr/src:
cp -al project1 tmp.project1
rm -rf tmp.project1/.git
dircmp --ar tmp.project1 --br project2
When done: rm -rf tmp.project1
Pity I'm flying out tomorrow and won't have time to look into this... else I'd take a stab at implementing an --ignore option myself.
And maybe restructure the code a little while I'm at it -- currently gdc is really slow at compiling such a large source file, I wonder if it would speed things up if the code was broken up into smaller files and parallel-compiled. Though that may not help if there are too many dependencies between the pieces.
Is there a way to ignore certain subdirectories when recursively comparing directories? E.g., I want to compare
/usr/src/project1
and/usr/src/project2
but I want to ignore everything under.git
in those directories.The text was updated successfully, but these errors were encountered: