Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Quick Question about batching files

by Boxerman (Initiate)
on Feb 07, 2013 at 12:53 UTC ( #1017646=note: print w/ replies, xml ) Need Help??


in reply to Re: Quick Question about batching files
in thread Quick Question about batching files

All thanks for your responses and help.

In regards to reading the file, i dont want that, i just want a count of files and sort them in to the folders until there are no more files left.

Thanks
B-man


Comment on Re^2: Quick Question about batching files
Re^3: Quick Question about batching files
by igelkott (Curate) on Feb 07, 2013 at 15:39 UTC
    ...sort them in to the folders...

    Sort by which criteria? Name? Contents?

    This is probably the main point that makes the question difficult to answer ... and maybe why some answers may seem rude or vague.

      Sorting may be harder, but that did not prevent choroba from mentioning e.g. opendir and File::Copy in the very first post in this thread. Given how most shell commands, etc. sort the contents of directory listings, he may not even realize it is something he will likely have to deal with! Or alternatively, he may have a handle on the sorting part. Sorting is fairly common and Perl does have a built-in function for it after all. On the other hand, array splicing, traversing directories, etc. could be another matter entirely. It's not even clear to me that sorting is part of the question.

      Elda Taluta; Sarks Sark; Ark Arks
      My deviantART gallery

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2014-10-01 18:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (32 votes), past polls