I know there are plenty of questions like this but I cant seem to get any to work with mine in particular.
find ./* -prune -name "pkg*" -ctime +30 -exec rm -rf {} \;
ksh: /usr/bin/find: 0403-027 The parameter list is too long.
List grew too long and now i need help finding a alternative way to accomplish this task.. It deletes all of the pkg files that are greater then 30 days. PLEASE HELP. Would be nice to just be able to modifiy slightly to accomplish same thing. Or maybe assistance with breaking this down into batches of files at once. Please advise. thanks!
find ./* -prune -name "pkg*" -ctime +30 -exec rm -rf {} \;
ksh: /usr/bin/find: 0403-027 The parameter list is too long.
List grew too long and now i need help finding a alternative way to accomplish this task.. It deletes all of the pkg files that are greater then 30 days. PLEASE HELP. Would be nice to just be able to modifiy slightly to accomplish same thing. Or maybe assistance with breaking this down into batches of files at once. Please advise. thanks!