Would it be faster if you do reading and moving using a shell script?
Something like:
for afile in $dir/*; do achannel=$(awk -F'|' '{print $20}' "${afile}") mv "${afile}" "${outdir}/${achannel}" done
In reply to Re: Perl Program to efficiently process 500000 small files in a Directory (AIX)
by bliako
in thread Perl Program to efficiently process 500000 small files in a Directory (AIX)
by DenairPete
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |