module Bkwrapper
  module Backup
    module Compressor
      def compress_command
        "zip /var/tmp/#{compressed_filename} /var/tmp/#{backup_filename}"
      end

      def compressed_filename
        "#{backup_filename}.zip"
      end
    end
  end
end

module Bkwrapper
  module Backup
    module Compressor
      def compress_command
        "zip -j /var/tmp/#{compressed_filename} /var/tmp/#{backup_filename}"
      end

      def compressed_filename
        "#{backup_filename}.zip"
      end
    end
  end
end

Store just the name of a saved file (junk the path)
Store just the name of a saved file (junk the path)

By default, zip will store the full path (relative to the current path).
