User Profile

Collapse

Profile Sidebar

Collapse
al bundy
al bundy
Last Activity: Feb 29 '08, 09:40 AM
Joined: Feb 26 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • al bundy
    replied to Renaming files
    in Perl
    Hi Kevin

    Thanks for this and for your quick response,

    However I don't necessarily want to change the original file names located in the folder. I would like to read in the names to an array then remove the last 4 characters of each file within the array. once this is done add a new extension to each of the files within the array then use these new file names to link to the original.
    So the end result should look...
    See more | Go to post

    Leave a comment:


  • al bundy
    started a topic Renaming files
    in Perl

    Renaming files

    Hi I'm relatively new to Perl.

    I'm attempting to read in all the file names which are located in a directory to an array, modify each file name by removing the last 4 characters of each file then replacing them with a new 4 character extension. I then would like to set symbolic links using the new file names.

    eg:- <filename>.im g to <filename>_trn. img

    So far i have the following code...
    See more | Go to post
No activity results to display
Show More
Working...