Re:What's the one Linux command you wish you knew years ago?
by sixtofour on Sunday November 20, 2011 @04:52AM
(#3257745)
Just diff the two directories.
Maybe I'm missing something?
[ Parent
| on HN ]
Re:What's the one Linux command you wish you knew years ago?
by jav on Sunday November 20, 2011 @05:41AM
(#3257825)
The OP's example is diffing listings of the two directories whereas your command is asking diff to directly work on the directories themselves.
Re:What's the one Linux command you wish you knew years ago?
by robertskmiles on Sunday November 20, 2011 @08:51AM
(#3258090)
Which means for example you could get that listing in any format, so you could for example spot changes in permissions or ownership if you included it in the listing.
Re:What's the one Linux command you wish you knew years ago?
by sixtofour on Sunday November 20, 2011 @11:16AM
(#3258362)
I stand enlightened.
Re:What's the one Linux command you wish you knew years ago?
by super_mario on Monday November 21, 2011 @08:37AM
(#3261025)
Yes, you are because the example was contrived. The point is that process substitution (as it is called) is available on systems that support named pipes. You could think of better uses for it.