Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Mass file renaming

by b10m (Vicar)
on Nov 07, 2005 at 18:12 UTC ( #506481=note: print w/replies, xml ) Need Help??


in reply to Mass file renaming

Maybe slightly off-topic, but I assume you use a MS Windows environment. Wasn't (isn't) a DOS shell capable of doing something like this?

C:\Storage> rename *.csv *.txt

Perl is awesome, but sometimes a little shell command could be easier.

Then again, you seem to "extract some data from the file", and I bet Perl comes in handy there ;-)

--
b10m

All code is usually tested, but rarely trusted.

Replies are listed 'Best First'.
Re^2: Mass file renaming
by interstellar (Initiate) on Nov 08, 2005 at 08:55 UTC
    I'm light on Perl, but almost ethereal when it comes to DOS Scripting.

    It seems the file was not closed afterall, my simple sintax (simptax?) was wrong. Swampyankee you were right on there early on, but thanks to all for your contributions. Works a treat now!

    Worship, worship...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://506481]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2023-01-27 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?