Need Perl script to copy files/folders from one cpanel account to another
$25-30 USD
Cancelado
Publicado há mais de 16 anos
$25-30 USD
Pago na entrega
Hello, I need a PERL script (that I can execute via ssh) to copy all the files and folders from one cPanel account to another on a different server. The scenario: I just bought a new dedicated server with a different hosting provider, and instead of downloading all the files/folders from one account, then uploading them to another account (wastes too much time), I'd rather ssh in to the new server and execute a perl script which remotely copies all the files from the old cpanel account and puts them in the new one. I'll obviously need to be able to configure the remote ftp username/pass as well as the server folder location to the public_html directory on both the old and new server. This script must keep the file/folder structure perfectly. WOULD BE FANTASTIC IF THE SCRIPT CAN ALSO KEEP FILE PERMISSIONS INTACT! Such as if a file/folder on the old server is chmod 0777 on the old server, when the file/folder is copied to the new one it automatically chmod's it to 0777. I can't use cPanel's built in method of copying an account from server to another, this has never worked for me. This script should also by-pass folders such as cgi-bin and _private folders for example. EVERY other folder/file needs to be copied. Not interested in you posting your resume, I'd rather see comments relating to this request along with your bid :) Both servers are centos/cpanel/whm. Thanks, Joe
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
linux