Sha256: aa10e6eb0a7340587398f24f5600f25d5b85d8bf3a9f5c96b9b62532e0201e57

Contents?: true

Size: 259 Bytes

Versions: 2

Compression:

Stored size: 259 Bytes

Contents

#!/usr/bin/env ruby

#Find and show xmp which is not with nef file as the same stem name.
#In current dir.
#E.g, rm `orphanxmp`

#nefs = Dir.glob "*.nef"
xmps = Dir.glob "*.xmp"
xmps.each do |name|
  next if File.exist? name.sub("xmp", "nef")
  puts name
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
imagut-0.0.4 bin/orphanxmp
imagut-0.0.3 bin/orphanxmp