Home > parker

parker

Parker is a project mainly written in Ruby, it's free.

task :move do

files '.jpg', '.png', '.bmp', having: 'vacations' files '.avi', existing: '.sub'

from 'home/fotos', 'home/donwloads' from 'home/descktop'

to 'home/usr/bazoora'

end

task :copy do

files '.jpg', '.png', '.bmp', having: 'vacations'

folders '2011'

from 'home/fotos', 'home/donwloads' do rename /vacations/, /2011-vac-/ end from 'home/descktop'

to 'home/usr/bazoora'

end

task :move, :recursive => :tree do

options for: :recursive =>

:tree : copy or move recursively recreating the same tree structure in the target directory

:plain : copy or move recursively to the target directory

files '.jpg', '.png', '.bmp', having: 'vacations' files '.avi', existing_the: '.sub' # :existing_the look if the .sub (in this case) have the same name that .avi (in this case)

from 'home/fotos', 'home/donwloads' from 'home/descktop'

to 'home/usr/bazoora'

end

Previous:Pycharm-Bugs