Rename multiple files using ftp
I have a set of files in my ftp folder. I have access to only ftp mode. I want to rename those files with extension .txt to .done.
rename
Use the rename command. rename /a/myfile /a/b/myfile I think most ftp clients use rename, not mv like lftp (as in slm's answer).
ftp 指令
其他ftp 次指令,例如cd、 delete、 get、 mkdir、 rename、 及rmdir,請勿執行檔名擴充,並照字面取得型樣相符字元。 對於get, put, mget及mput 次指令, 直譯器 ...
RENAME
The RENAME command changes the name of a server file to the new name specified. On some servers, you can use RENAME to specify both a new name and a new ...
ftp_rename - Manual
This function isn't only able to rename files, but also folders. And it is not only able to rename them, but also move them, and, in the case of folders, their ...