sftp move all files to another directory code example
Example: move file from one directory to another sftp
Use the sftp command "rename". It works like CUT and PASTE in normal shell.
sftp> rename <old-path> <new-path>
Use the sftp command "rename". It works like CUT and PASTE in normal shell.
sftp> rename <old-path> <new-path>