I’m trying to get diff to output only the name of the modified files.
I tried to use the -q option but it’s still giving me too much output :
What i get now is this :
files path/to/file1/file1 and path/to/file2/file2 are different
And i would like this :
path/to/file1/file1
Any ideas on how to do this ?
Use the exit status of diff: