Skip to main content

Timeline for How does "diff --exclude" work?

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Nov 29, 2024 at 10:39 comment added Kusalananda @Malkavian If the files/directories are not called exactly lib and cache, then use a pattern, e.g. --exclude='*.cache' or --exclude='*cache' or something similar (remember quote the pattern).
Nov 29, 2024 at 10:23 comment added Malkavian i am trying to compare 2 web app using: " diff -rq /opt/tomcat10/webapps/app1 /opt/tomcat9/webapps/app1 --exclude=lib --exclude=class " but it seems to keep listing the .class and lib-provided
Jul 9, 2019 at 7:17 comment added Brain90 thanks for pointing "The pattern is applied to the basename of files and directories, not to pathnames". its very helpful.
Mar 21, 2019 at 20:03 vote accept d512
Mar 20, 2019 at 19:32 history edited Kusalananda CC BY-SA 4.0
added 12 characters in body
Mar 20, 2019 at 19:25 history edited Kusalananda CC BY-SA 4.0
deleted 25 characters in body
Mar 20, 2019 at 19:19 history answered Kusalananda CC BY-SA 4.0