Search This Blog

Total Pageviews

Friday, 11 August 2023

-bash: /bin/rm: Argument list too long

-bash: /bin/rm: Argument list too long



rm *.aud -bash: /bin/rm: Argument list too long

Try below command!!!!

find /u01/app/oracle/admin/TROD/adump -name '*.aud' -mtime +5 -delete
find /u01/app/oracle/admin/TROD/adump -name '*.aud'  -delete


find /u01/app/oracle/admin/TROD/adump -name '*.aud' -mtime +5 -exec rm {} \;

Oracle DBA

anuj blog Archive