-
Notifications
You must be signed in to change notification settings - Fork 0
leizzer/parker
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published