While trying to clear tmp folder from my session files i got the following bash: /bin/rm: Argument list too long, following couple lines of ruby helped me to solve that.
cd /tmp
irb
Dir.entries(".").each{|file| `rm -rf #{file}` if File.file?(file)}
Created on July 18, 2007 17:29:24
by Gregory Bluvshteyn
(160.83.72.201)
(285 characters / 0.0 pages)