Copy files between Unix systems

By neokrates, written on April 23, 2010

bash   snippet

Rate it
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
Ad
Poll
  • What computer language you specialize in?

    View Results

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
Most popular search terms:
Stats
    Since publication, this page was visited 153 time(s).

Copy all files which match /my/dir/my_file_prefix* from the local host to the $REMOTE_HOST into /my/remote/dir/..
Authenticate as $REMOTE_USER:

scp /my/dir/my_file_prefix* $REMOTE_USER@$REMOTE_HOST:/my/remote/dir/.



[i] REMARK: permissions must be set for $REMOTE_USER so that he can copy.

 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: 0 (from 0 votes)
0 votes 'YES'  0 votes 'NO'
TAGS
No tags for this post.
RELATED
Pages
Posts
    nope :(
SOCIAL
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • BlinkList
  • Blogosphere News
  • E-mail this story to a friend!
  • Furl
  • LinkArena
  • Live
  • MisterWong
  • Print this article!
  • StumbleUpon
  • Technorati
  • Webnews.de
  • YahooMyWeb

Leave a Reply