+ result = `mv '#{entry.path}' '#{destination}' 2>&1`
+ end
+ if $?.exitstatus > 0
+ simplified_error = result.sub(/#{Regexp.quote(destination + '/' + File.basename(entry.path))}/, ''). #'
+ sub(/#{Regexp.quote(entry.path)}/, '').
+ sub(/#{Regexp.quote(File.basename(entry.path))}/, '')
+ if ! ignored_errors.include?(simplified_error)
+ response = show_popup($main_window,
+ utf8(_("Failure:\n\n%s\nDo you wish to continue?" % result)),
+ { :yestoall => true })
+ if response == 'no'
+ raise "failure on '#{entry.path}'"
+ elsif response == 'yestoall'
+ ignored_errors << simplified_error
+ end
+ end
+ else
+ if stuff[key][:combo].active == 0
+ copied += 1
+ else
+ moved += 1
+ end