× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 04-Dec-2015 09:56 -0600, Jan Grove Vejlstrup wrote:

I want to use sFTP to move all files from the remote-directory
export to the remote-directory export/archive. I have tried to do
this with this command:

rename export/* export/archive/*

but it doesn't work.

What about trying that rename request, slightly modified, having omitted the asterisk on the second argument of the rename?


<<SNIP>>

How could I get the files moved?


Given the expressed desire for the use of the SSH FTP, i.e. per mention of the sftp utility, does the possibility exist instead, to use the ssh utility to issue a "mv export/* export/archive/" request at the remote server? Perhaps using the absolute path specification, if required; i.e. in case, perhaps, the sftp might establish a different CD on the remote server than what just SSH would?

Or perhaps just ask someone at the remote server to do whatever it requires to effect that /move/ of those files :-)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.