AIX: 0403-027 The parameter list is too long

Problem

It happened when calling “mv *.log ./sub-dir” with a large number of log files involved.


mv *.log ./log_`date +"%Y%m%d"`

/usr/bin/mv: 0403-027 The parameter list is too long

Fix


smitty ->

System Environments ->

Change / Show Characteristics of Operating System ->

ARG/ENV list size in 4K byte blocks   [6] ->

Increase the value (6) to a bigger one, say [256] (256*4k=1M).

Advertisements
Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: