Skip to content

Instantly share code, notes, and snippets.

@havenwood
Created May 15, 2014 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save havenwood/8d36bafac53a52cbbb40 to your computer and use it in GitHub Desktop.
Save havenwood/8d36bafac53a52cbbb40 to your computer and use it in GitHub Desktop.
IRC
x = Dir['/media/backup/work/2014_05_15__re-encode_audio_SU-ANIMALS/original/*']
y = Dir['/media/backup/work/2014_05_15__re-encode_audio_SU-ANIMALS/re-encoded/*']
x.map! { |path| File.basename path }
y.map! { |path| File.basename path, '.*' }
puts x - y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment