User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Perl Script to go in dirs and rename files as dir Page [1]  
bous
All American
11215 Posts
user info
edit post

Can someone help me out on how to do this with perl?

i have about 500 directories
i want to go into each directory
if directory has ONE avi file (not 2), rename it to the dir name
if directory has TWO avi files (each will have cd1 or cd2 in it), rename it to dir name and add .cd1 to end (before extension)

5/9/2008 12:24:52 PM

 Message Boards » Tech Talk » Perl Script to go in dirs and rename files as dir Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.