Skip to content

Instantly share code, notes, and snippets.

@rudkovskyi

rudkovskyi/tw.rb Secret

Created Oct 4, 2018
Embed
What would you like to do?
#!/bin/ruby
File.foreach('/path/to/files.list') do |line|
next unless File.exists?(file)
next if File.size(file) == 0
ThumbnailWorker.perform_async(file)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.