Renaming Files: rename(OLDFILENAME, NEWFILENAME); : rename « File « Perl






Renaming Files: rename(OLDFILENAME, NEWFILENAME);

   

rename ("tmp", "datafile");

   
    
    
  

Related examples in the same category

1.Rename a file
2.Rename a group of files with a common extension?
3.Renaming a file before accidental deletion