| Server IP : 195.130.67.5 / Your IP : 216.73.216.14 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/Conference/phpMyAdmin/scripts/ |
Upload File : |
#!/bin/sh # # $Id: extchg.sh,v 1.2 2002/04/24 19:10:32 robbat2 Exp $ # # original php3->phtml converter by Pavel Piankov <pashah@spb.sitek.net> # modified by Tobias Ratschiller to allow any file extension # part of the phpMyAdmin distribution <http://phpmyadmin.net/> # # 2001-07-07, lem9@users.sourceforge.net: # - supports sub-directories # - no more bak directory if [ $# != 2 ] then echo "Usage: extchg.sh <extension to change from> <extension to change to>" echo "" echo "Example: extchg.sh php3 php" exit fi for i in `find . -name "*.$1"` do echo $i sed -e 's/\.'$1'/\.'$2'/g' $i > `ls $i|sed -e 's/'$1'/'$2'/g'` rm $i done;