OT: using pscp to *move* files

Jay R. Ashworth jra at baylink.com
Mon Jul 16 10:56:33 PDT 2007


I'm looking for the lightest-weight way to use pscp/sftp to *move*
files from a Linux box to a Windows one.  We tried earlier to use
Samba, and for unknown reasons, it didn't want to work properly.

I was hoping to find a switch to pscp that said "after you copy the
file, delete it", but it doesn't appear to have such a switch.

Anyone got any ideas?

(The context is random CSV files dropped out of a filePro invoicing
app, one per invoice; I want the Windows guy to be able to pull them
over from my drop directory and not get them twice.)

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274


More information about the Filepro-list mailing list