Posted On 2007-05-22 by FortyPoundHead
Keywords: Command Reference
Tags: Linux Commandline Linux
Views: 1530

Remote Copy - move files between machines.
Each file or directory is either a remote filename of the form rname@rhost:path or a local filename.


rcp [options] file1 file2

rcp [options] file ... directory

-k Attempt to get tickets for remote host; query krb_realmofhost to determine realm.

-p Preserve modification times and modes of the source files.

-r If any of the source files are directories, rcp copies each subtree rooted at that name.
The destination must be a directory.

-x Turns on DES encryption for all data passed by rcp.

About the Author

FortyPoundHead has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links