"Argument list too long" error
below command worked: [tested]
find . -name "*.aud" -type f -print -delete
find /app/rdbms/audit/ -name "*.aud" -type f -print -delete
Or
Using For loop: (time consuming..)
for f in *.aud; do rm "$f"; done
Note: To improve performance, remove "-print"
No comments:
Post a Comment