Re: How to send files over uucp
In article <Pine.LNX.3.96.980423220438.762A-100000@birch.seitz.com> you wrote:
> I am currently fetching mail over an established uucp link. It
> works great! I would like to send file over this link as well. Afer
> reading the uucp man page it appeared simple but something is not right.
>
> uucp local_file remote_uucp_node_name!user_name!remote_filename
>
> bash: !user_name!remote_filename: event not found
I use this to tranfer files to panam. --mail sends me mail about
the job, nouucico queues the job for later transfer instead
of doing it right now.
/usr/bin/uucp --mail --nouucico localfile panam\!~/remotefile
This makes a copy of the file in /var/spool/uucp/panam/D. and a
control file in panam/C. :
S /tmp/keep/local/rexx/localfile ~/remotefile rick -Cdm D.003H 0755
You can also add a switch so that just a pointer to the file
is used instead of a copy. You might want to do this if the
file is large or is likely not to be there when the transfer
takes place.
I think ~/ is uucppublic on the remote machine. You might run
into permission problems with ~user.
rick
--
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: