Changes

Jump to navigation Jump to search
368 bytes added ,  14:10, 15 May 2017
add quick directory comparison
diff --suppress-common-lines --side-by-side <(drush pml --status=enabled --pipe) modules.list.txt
</source>
 
This technique comes in handy if you wish to compare two directories at their top level. The '''extensions''' directory, for example, in [[MediaWiki]] from two different installations:
<source lang="bash">
diff --suppress-common-lines --side-by-side <(ls -1 /var/www/wiki.example.net/www/w/extensions/) <(ls -1 /var/www/wiki.example.org/www/w/extensions/)
</source>
 
=== Compressed files ===
4,558

edits

Navigation menu