Information Technology Knowledge Base

May 30, 2007

Argument list too long.

Filed under: Linux, RubyOnRails — Hedwig Lodrigo @ 8:21 pm

I was trying to delete all rails sessions of a site tonight and I encountered the following error:

Argument list too long.

The workaround is easy:

find . -name 'ruby_sess.*' | xargs rm

Voila, all those files are gone.

Powered by WordPress