Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Compare directories via diff' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Compare directories via diff
Authored by: dangr on Apr 03, '08 05:42:34AM

I have a question about this hint.... I'm not too well versed in terminal, but I'd love to do this with my two music folders (one on my external HD,and one on my internal). Do I put all of that code into terminal (including the "|"s) in one line, or do I run them as three separate commands in succession?

Also, where does this diffs.txt show up?


[ Reply to This | # ]
Compare directories via diff
Authored by: grasshoppermouse on Apr 03, '08 12:49:39PM

Put it all on one line. The diff.txt file will show up in your working directory. If you just started terminal and did not change directories, this will be your home directory (i.e., not the Desktop or Document directories).

One tip: to quickly enter the two folders you want compare, first type the diff -rq command. Then drag-and-drop the first folder onto the terminal. The path will automatically appear. Then drag-and-drop the second folder. Then type the rest of the command.

[ Reply to This | # ]