“Argument list too long”

Jan 08
2008

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

Comments are closed.

Calendar

January 2008
M T W T F S S
« Dec   Feb »
 123456
78910111213
14151617181920
21222324252627
28293031  

Tags