6
Dec

/bin/rm: Argument list too long tmp/sessions/ruby_sess.*

   Posted by: Vivek Khokhar   in Linux, Rails, Ruby

Well this happens when there are too many files to process:
Best way in this case is to do batch processing:
Sample command:
find . -name 'ruby_sess.*' -print0 | xargs -0 rm
This entry was posted on Thursday, December 6th, 2007 at 5:25 pm and is filed under Linux, Rails, Ruby. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply

You must be logged in to post a comment.