“Argument list too long”
Jan 08
2008
2008
Comments Off
Given that linuxjournal has some good points, there is no need for another solution, except in the cases when you operate on different machine. Here is oneliner solution:
irb console #remove Opera cached files
too_many_files = "~/.opera/cache4/" Dir.new(too_many_files_dir).each do |f| File.file?(f) && File.unlink(f) end