![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| diff between TAR+zip+FTP and TAR+FTP | swarup2008 | UNIX for Dummies Questions & Answers | 1 | 07-02-2008 03:51 AM |
| diff | tungaw2004 | UNIX for Dummies Questions & Answers | 3 | 04-25-2007 10:54 AM |
| Diff b/w $@ and $# | PradeepRed | Shell Programming and Scripting | 4 | 01-24-2006 04:02 AM |
| diff 2 files; output diff's to 3rd file | blt123 | Shell Programming and Scripting | 2 | 05-28-2002 11:29 AM |
| diff and ed? | Brototype | UNIX for Dummies Questions & Answers | 2 | 10-29-2001 02:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Simulate SVN diff using plain diff
Hi,
svn diff does not work very well with 2 local folders, so I am trying to do this diff using diff locally. since there's a bunch of meta files in an svn directory, I want to do a diff that excludes everything EXCEPT *.java files. there seems to be only an --exclude option, so I'm not sure how to do this. perhaps, we can use find and execute diff on each .java or we can do a grep after we get our result (filter to only .java diffs), but that'd be tricky. this is what I have so far. diff -r --exclude=.svn dir1/ dir2/ > diffs.txt there are simply too many types of files to filter using only the --exclude option. anyone have thoughts? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|