-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I started thinking that it would be a good thing to add a sync:uploads is this is the plans for this module? A simple downloads uploads, uploads would do but I guess there should be a rename locally so to put the new uploads into the correct place?
maybe something like this:
desc "Sync remote uploads directory"
task :uploads do
timestamp = Time.now.to_f
system "mv tmp/uploads tmp/uploads_#{timestamp}"
download("#{current_path}/tmp/uploads", "tmp/uploads", :via => :scp, :recursive => true)
end
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels