Things you can't easily do on Unix. Copy files from machine A to B, from C.

On machine C

(copyf "A:AMS;*.*#*" "B:AMS;")

#LispMachine revolution is nigh.

@volkris Nooop.... This note the glob. scp takes one file. rsync you say? That will fail if you don't have rsync on the remote...

Copying files on the Lisp Machines used the same function, no matter if it was remote, or not. No matter if you copied recursively, or not. It is all COPYF (or the long form, COPY-FILES)

@volkris On Unix, the user has to figure that out (oh .. you gotta use scp, why not rcp? cp? rsync? ftp? ....)

On Lisp Machines .. it figures it out based on the type of machine you are talking to. You could have a host that talks FTP or even ... HTTP! and COPYF would just do the right thing.

unless the remote host has a very strict firewall that blocks IPs that attempt unexpected connections, and the implementation starts by trying some unexpected means to access that host

@lxo your assuming many Unix virus things there…. For one, IP … and what’s a firewall?

@amszmidt I'm not trying to scp is a panacea, but it is pretty neat in what it can do, and it can copy entire directories.

@volkris scp is not even close to a panacea. It is using a special command for special hosts. It is not "copy me this file .. damn it!". :-)

And then you might need to toss around -3 or some other annoying switch to make it do right...

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.