diff --git a/lib/attachs/console.rb b/lib/attachs/console.rb
index <HASH>..<HASH> 100644
--- a/lib/attachs/console.rb
+++ b/lib/attachs/console.rb
@@ -3,7 +3,7 @@ module Attachs
     class << self
 
       def detect_content_type(path)
-        run "file -Ib '#{path}'" do |output|
+        run "file -ib '#{path}'" do |output|
           output.split(';').first
         end
       end
Fix content type detection for bsd