python - Move files (directory to directory) on a remote file system using python2.7 -


i move files 1 directory on remote linux (centos) server directory on same server. using python27. i'm told 'move' copy/delete process on remote file system, , appear case (large) files take long time move. there quick way move these huge files?

os.rename

you can use os.rename

os.rename("path/to/file.txt", "path/to/new/file.txt") 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -