User Tools

Site Tools


wordpress_password_reset

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
wordpress_password_reset [2010/10/30 23:20]
k2patel created
wordpress_password_reset [2010/10/30 23:49]
k2patel
Line 2: Line 2:
 #​!/​usr/​local/​bin/​bash #​!/​usr/​local/​bin/​bash
 # Wordpress Password Reset # Wordpress Password Reset
-# <Ketan Patel> k2patel@gmail.com+# <Ketan Patel> k2patel@hotmail.com
  
-if [ $# -lt 2 ]then +if [ $# -lt 2 ] 
-   echo "​Usage:​ $0 <Blog Location>​ <new Password>"​ +then 
-   exit 1+   echo "​Usage:​ $0 <Blog Location>​ <new Password> ​[<Admin User>]" 
 +elif [ $# -lt 3 ] 
 +then 
 +   WPUser='​admin'​ 
 +else 
 +   ​WPUser=$3
 fi fi
  
wordpress_password_reset.txt · Last modified: 2020/08/10 02:35 (external edit)