Skip to content

Instantly share code, notes, and snippets.

@mjacobus
Created April 22, 2020 02:11
Show Gist options
  • Select an option

  • Save mjacobus/8b2b0d15d6274da20810daa63c1fa5ff to your computer and use it in GitHub Desktop.

Select an option

Save mjacobus/8b2b0d15d6274da20810daa63c1fa5ff to your computer and use it in GitHub Desktop.
require 'fileutils'
ARGV.each_with_index do |number, index|
name="canticos/sjjm_T_#{number}_r480P.mp4"
FileUtils.copy(name, "cantico_#{index + 1}_#{number}.mp4")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment