Hi,
I am getting the below error message When i am trying to delete the files from the directory.Could you please guide me?
rm *.aud
ksh: /usr/bin/rm: 0403-027 The parameter list is too long.
and
find /oracle/admin/testP/adump/*.aud -mtime +5 -exec rm {} \;
ksh: /usr/bin/find: 0403-027 The parameter list is too long.
Thanks,
Rocky
pludi
2
It means there are too many files to fit (after parameter expansion) on the command line. Try this:
find /oracle/admin/testP/adump/ -name '*.aud' -mtime +5 -exec rm {} \;
Thanks a lot Plundi.It is working. :)
borek
4
To make long parameter available :
lsattr -EH -l sys0 | grep ncargs
chdev -l sys0 -a ncargs=16
16 or grater power of 4...