#!/usr/bin/ruby =begin rdoc Usar la primer linea siempre para poder correr el script en linux sin necesidad de realizar algun cambio. Autor:: Erick Muniz Website::http://erick.munizfam.com email:: {my name}@munizfam{dot}com Utilizar este script para cambiar atributos a un archivo y hacerlo executable Uso: exe =end if ARGV[0] == nil puts "Error File to Make Executable missing" puts "Usage exe {filename}" else system('cmd.exe /c chmod 0755 '+ARGV[0]) puts ARGV[0]+ " is executable now" end