:-[] :-|| Vivek Khokhar rambles here :-O :-[]

December 6, 2007

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

Filed under: Linux, Ruby, Rails — Vivek Khokhar @ 5:25 pm
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

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress