Feb 7, 2003 #1 mannymo MIS Joined Dec 23, 2002 Messages 15 Location US I get the msg. "Arguments too long" when I run below script. Can someone help? Thanks find /tmp/edi/imp/mci/* -mtime +30 -exec rm {} \;
I get the msg. "Arguments too long" when I run below script. Can someone help? Thanks find /tmp/edi/imp/mci/* -mtime +30 -exec rm {} \;
Feb 7, 2003 #2 bi Technical User Joined Apr 13, 2001 Messages 1,552 Location US try find /tmp/edi/imp/mci/* -mtime +30 -print | xargs rm -f Upvote 0 Downvote
Feb 7, 2003 Thread starter #3 mannymo MIS Joined Dec 23, 2002 Messages 15 Location US I'm still getting the same error. Upvote 0 Downvote
Feb 8, 2003 #4 MoshiachNow IS-IT--Management Joined Feb 6, 2002 Messages 1,851 Location IL TRy: for FILE in `find /tmp/edi/imp/mci/* -mtime +30 -print` ;do rm -f $FILE done "Long live king Moshiach !" http://www.7for70.com/ Upvote 0 Downvote
TRy: for FILE in `find /tmp/edi/imp/mci/* -mtime +30 -print` ;do rm -f $FILE done "Long live king Moshiach !" http://www.7for70.com/