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 ( [id://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

Replies are listed 'Best First'.
Re^3: Quick Question about batching files
by igelkott (Priest) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1017646]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-19 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found