a = Dir['/media/backup/work/2014_05_15__re-encode_audio_SU-ANIMALS/original/*']
b = Dir['/media/backup/work/2014_05_15__re-encode_audio_SU-ANIMALS/re-encoded/*']
a_filenames_mapping
= Hash
[a.
map{ |x
| [File.
basename(x,
File.
extname(x
)), x
] }]
b_filenames_mapping
= Hash
[b.
map{ |x
| [File.
basename(x,
File.
extname(x
)), x
] }]
differing_files = a_filenames_mapping.keys - b_filenames_mapping.keys
differing_filenames
= differing_files.
map{ |x
| File.
basename(a_filenames_mapping
[x
]) }p differing_filenames
YSA9IERpclsnL21lZGlhL2JhY2t1cC93b3JrLzIwMTRfMDVfMTVfX3JlLWVuY29kZV9hdWRpb19TVS1BTklNQUxTL29yaWdpbmFsLyonXQpiID0gRGlyWycvbWVkaWEvYmFja3VwL3dvcmsvMjAxNF8wNV8xNV9fcmUtZW5jb2RlX2F1ZGlvX1NVLUFOSU1BTFMvcmUtZW5jb2RlZC8qJ10KCmFfZmlsZW5hbWVzX21hcHBpbmcgPSBIYXNoW2EubWFweyB8eHwgW0ZpbGUuYmFzZW5hbWUoeCwgRmlsZS5leHRuYW1lKHgpKSwgeF0gfV0KCmJfZmlsZW5hbWVzX21hcHBpbmcgPSBIYXNoW2IubWFweyB8eHwgW0ZpbGUuYmFzZW5hbWUoeCwgRmlsZS5leHRuYW1lKHgpKSwgeF0gfV0KCmRpZmZlcmluZ19maWxlcyA9IGFfZmlsZW5hbWVzX21hcHBpbmcua2V5cyAtIGJfZmlsZW5hbWVzX21hcHBpbmcua2V5cwoKZGlmZmVyaW5nX2ZpbGVuYW1lcyA9IGRpZmZlcmluZ19maWxlcy5tYXB7IHx4fCBGaWxlLmJhc2VuYW1lKGFfZmlsZW5hbWVzX21hcHBpbmdbeF0pIH0KcCBkaWZmZXJpbmdfZmlsZW5hbWVz
Main.java:1: error: class, interface, or enum expected
a = Dir['/media/backup/work/2014_05_15__re-encode_audio_SU-ANIMALS/original/*']
^
Main.java:1: error: unclosed character literal
a = Dir['/media/backup/work/2014_05_15__re-encode_audio_SU-ANIMALS/original/*']
^
Main.java:1: error: illegal underscore
a = Dir['/media/backup/work/2014_05_15__re-encode_audio_SU-ANIMALS/original/*']
^
Main.java:1: error: unclosed comment
a = Dir['/media/backup/work/2014_05_15__re-encode_audio_SU-ANIMALS/original/*']
^
4 errors