diff

Another command I want to write down, like dot_clean, so that I remember the details:
diff – Compare files line by line.
Usage: diff [OPTION]… FILES
FILES are `FILE1 FILE2′ or `DIR1 DIR2′ or `DIR FILE…’ or `FILE… DIR’.

diff -rq folder1 folder2

e.g. -r (rekursive) and -q (brief output)

diff -rq /Users/memm/Backup/Documents/ /Volumes/Documents/
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s