rgb192
asked on
using php, I want to rename file '1' to 'email.txt'
many folders not recursive
folderA/1
folder45/1
folderHello/1
anotherFolder/1
files are named '1' with no extension name
I want to rename file '1' to 'email.txt'
folderA/1
folder45/1
folderHello/1
anotherFolder/1
files are named '1' with no extension name
I want to rename file '1' to 'email.txt'
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@mankowitz: Yes, that is exactly what the script does, but it provides a generalized solution that does not need to be installed and run in every single directory you have on your server (some might have many directories). Sometimes less is more and sometimes more is more. ;-)
ASKER
I like Ray's script the best because it worked for my directories.