rename directories

With this one you can rename directories. Their names are stored in a1.txt (one per line). If you want to change the names of hundred directories, then such a script makes sense.


open (ERSTE, "a1.txt") || die "file not found\n";

@fileinput1 = <ERSTE>;
close (ERSTE);


$a1 = @fileinput1[0];


rename ("no1", "$a1") or die $!;

 

 

 

 

Back to previous page

  Get Free Autoresponder

Enter your email address below and you will receive a powerful Autoresponder and our Special Ezine for free:

(Please use your real email address or else you won't receive the free script)

Name: *
Email: *

Or you can subscribe by clicking this link to send an email automatically:

mailto:amlmEzine@DrQuek.com