To copy files jgarner_* to Alias_*:
Dir.glob("jgarner_*") { |name| `cp #{name} #{name.sub(/jgarner_/, "Alias_")}`} or ruby -e 'Dir.glob("jgarner_*") { |name| `cp #{name} #{name.sub(/jgarner_/, "Alias_")}`}'
It's *way* more powerful than that but that's the simplest use case.