Created
January 11, 2013 15:28
-
-
Save cfg/4511512 to your computer and use it in GitHub Desktop.
crudely extract tab delimited wordpress plugin name/directory name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /path/to/wordpress/wp-content/plugins/ | |
$ for foo in `find . -maxdepth 1 -type d` ; do p=$(basename $foo) ; n=`grep "Plugin Name" "$p/$p.php" | cut -d':' -f2-` ; echo -e "$p\t$n" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment