Date: Tue, 18 Dec 2001 04:48:26 -0500 From: dave@hawk-systems.com (Dave) To: <freebsd-questions@FreeBSD.ORG> Cc: "Jon Molin" <Jon.Molin@resfeber.se> Subject: RE: retrieve and delete remote file via ssh Message-ID: <DBEIKNMKGOBGNDHAAKGNKEPOKOAA.dave@hawk-systems.com> In-Reply-To: <3C1F004F.9F6A7A3A@resfeber.se>
next in thread | previous in thread | raw e-mail | index | archive | help
perfect, took that train of thought... ssh user@host "mv file file.lock" then retrieve, remove, while the server rebuilds and continues to add to file you know its time for a break when the simplest of things boggle your mind, thanks Dave >-----Original Message----- >From: jmo@mail2.resfeber.se [mailto:jmo@mail2.resfeber.se]On Behalf Of > >ssh user@host "rm $file" > >should do it. > > >/Jon > > > >Dave VanAuken wrote: >> >> Am looking to do the following, can't put my finger on it. >> >> Goal: >> scp or rsync file(s) from remote server, then remove them from remote server >> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DBEIKNMKGOBGNDHAAKGNKEPOKOAA.dave>