Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: new directory with sorted files

by pvaldes (Chaplain)
on Apr 07, 2012 at 00:31 UTC ( #963876=note: print w/ replies, xml ) Need Help??


in reply to Re: new directory with sorted files
in thread new directory with sorted files

Same opinion, if you can, use bash for this. You can use perl of course, just remember that all files in your directory will be always sorted, so you don't need really to care about this. If you want to do this with perl take a look to mkdir and rename. If you use copy instead rename you'll need also to use unlink (that can be a little scary for a novice)


Comment on Re^2: new directory with sorted files

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2014-09-22 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls