Get your own customer support community
 

cp process + advantages of spawning ssh and exec'ing processes

When you copy data from a remote share through sftp to the same share, but into another folder/directory, PLEASE set it such that it will do the copy directly on the server versus using the remote connection from which one is working as the conduit. If sftp cannot directly do this, it can be accomplished by spawning a new ssh process using the sftp authentication info and then simply issuing a cp command. This would save tremendous headaches for me while moving things from staging folders to production and so forth as we deal with some large images, and so forth. It is simply a matter of efficiency and could help in other areas as well. For example, `du` may be able to be issued to more quickly gather disk usage information.
 
sad I’m frustrated
Inappropriate?
1 person likes this idea

User_default_medium