lib/batch_audio_convert/file_utils.rb
def populate_list_of_files_from_directory(file_list, entry)
    logger.debug "\"#{entry}\" is a directory. Processing..."
    Find.find(entry) do |file|
      next unless is_directory_to_process?(File.dirname file)
      file_list << file if File.file?(file)
    end

  end
# Adds all files in a directory structure
Adds all files in a directory structure
Adds all files in a directory structure
def populate_list_of_files_from_directory(file_list, entry)
    logger.debug "\"#{entry}\" is a directory. Processing..."
    Find.find(entry) do |file|
      next unless is_directory_to_process?(File.dirname file)
      file_list << file if File.file?(file)
    end
  end
def populate_list_of_files_from_directory ( file_list , entry ) logger . debug "\"#{entry}\" is a directory. Processing..." Find . find ( entry ) do | file | next unless is_directory_to_process? ( File . dirname file ) file_list << file if File . file? ( file ) end end
Adds all files in a directory structure
Adds all files in a directory structure
file_list
entry