Upload the local directory to the remote directory.
# File rake/contrib/publisher.rb, line 70 def upload @files.each do |fn| run %{scp -q #{@local_dir}/#{fn} #{@host}:#{@remote_dir}} end end
<code/>
<pre/>
<code/>and<pre/>for code samples.