UUCP SYNTAX
Once you’ve completed an entry for the Unix system you wish to transfer
files with, you can issue the uucp command, and attempt the transfer. The
syntax to copy a file from the remote system is:
uucp remote![file pathname] [local pathname]
Where remote is the name of the system you wish to copy the file from, [file
pathname] is the pathname of the file you wish to copy, and [local pathname] is
the pathname of the file on the local system that you wish to name the copy
that is made on the local system.
To transfer a file from the local system to the remote system, the syntax is:
uucp [local pathname] remote![file pathname]
Where [local pathname] is the file on the local system that you wish to
transfer to the remote system, remote is the name of the remote system, and
[file pathname] is the pathname you wish to give to the copy to be made on the
remote system.
So, to copy the ripco system’s password file, type:
uucp ripco!/etc/passwd /usr/spool/uucppublic/ripcofile
Which will, hopefully, copy the password file from ripco into a file on the
local system called /usr/spool/uucppublic/ripcofile. The directory
/usr/spool/uucppublic is a directory set up especially for the reception of
uucp-transferred files, although you can have the file copied to any directory
(if the directory permissions don’t prevent it).
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.










Comments
No comments yet.
Leave a comment