Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Perl Program to efficiently process 500000 small files in a Directory (AIX)

by afoken (Canon)
on Mar 17, 2018 at 18:42 UTC ( #1211160=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for afile in $dir/*; do
      achannel=$(awk -F'|' '{print $20}' "${afile}")
      mv "${afile}" "${outdir}/${achannel}"
    done
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2021-04-22 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?