[SATLUG] sftp rename

John Pappas j at jvpappas.net
Thu Jul 27 15:29:44 CDT 2006


On Thu, 2006-07-27 at 12:42 -0700, Alex Bartonek wrote:
> I'm xferring a file from a solaris 9 box to a windows
> box.  I'm transferring it as a .tmp file then want to
> rename it after the file has finished transferring. 
<SNIP>
> 'scp' does not have a rename option (thats how I get
> the file there..through scp).  

`scp` does not need a rename option, since you explicitly define the
destination, like so:
`scp user at host:/destdir/file.tmp file`




More information about the SATLUG mailing list