Batch Remove Files And Copy

Jul 30, 2009

to move the httpdocs folders of multiple sites on my plesk server to another server (share on other serv is already mounted so thats not an issue) but their is 31 different domains i need to copy. wondering if anyone knows any way to batch automate a cp process to copy each domains files to a new folder on remote server (this is for backup purposes not live sites so i cant use plesk migration etc

View 3 Replies


ADVERTISEMENT

Copy Dot Files

Feb 23, 2007

How do I copy all files and directories recursively to another folder?

I did:

cp --preserve -r /sourcefolder/* /destinationfolder/

However, it missed the dot files

View 2 Replies View Related

How To Copy Files From One Server To Another

May 1, 2008

I have about 1.80GB of flash games and I want to copy this flash games to another server, I only want to copy the flash games not the entire account.

FYI I have shell access on both server.

View 5 Replies View Related

Copy Files/dir Without Permissions

Apr 17, 2007

I am trying to copy files from one account to another through SSH, files copy with old account permissions and ownership.

Is this possible when I copy, ownership autometically changed to new account.

I am using CPanel and have root access.

View 2 Replies View Related

By Shell How Copy Files And Directory

Apr 25, 2007

I found that with unix's shell is possible copy all the content of a folder to oneother; I see the manual and found the command cp;

but there are many parameters;

which is that good?

I would like to replicate all that I have inner a folder to oneother;

so at the finish they must to hawe the identically content;

but I see, that some parameters can change symlink etc...
I want one clone exactly .

the originally folder have at inner directory,subdirectory, files htaccess etc..

View 1 Replies View Related

Copy Files Between Windows Servers

May 28, 2009

I have tried copy files from Linux server to Windows Server using WinSCP3 and it was so fast.

I am not sure who to copy files as well from Windows to Windows with same speed. I tried to use RDC between the Windows Servers and share one drive. But it wasn't fast as WinSCP3.

View 9 Replies View Related

Ssh Code To Copy Files In Same Server

Jun 28, 2009

I want to my friend's files from /home/admin/dc
to /home/ as I am planning to rebuild kloxo for him, this could kill all the files so, I would like to know the code so tht I could copy few files from the above location to the home directory

View 4 Replies View Related

Tool To Copy Files From One Webhost To Another

Nov 22, 2008

What tool is there for me to copy a lots of file from one webhost (FTP site) to another webhost? Like in for migrating to another host.

I'm thinking of a tool where I can specify the FTP access information for both sites, and it would perform the copy without needing to store the files on my local hard disk first.

View 6 Replies View Related

Remove Shell Files

May 30, 2007

how can I configurate Clamv for delete any infected shell file or trojan?

View 2 Replies View Related

Windows Server 2008, Can't Copy Files

May 31, 2009

I rent windows dedicated server for just about a month, but I never had problem.

When I copy files on my home computer and then paste them onto server's drive, files begin copying, but after some time they stop copying and I hear double beep sound.

Time after which they stop copying is random.

View 5 Replies View Related

How To Get Copy Of All Mysql Databases Into Individual Tar.gz Files

Mar 26, 2009

I'm trying to use the "mysqldump" command to get a copy of all databases on the server...

but I need each database to go into a "databaseXYZ.tar.gz" file.

Does anyone know how to do this? So far, I can only get all the databases into a single file. But I need each database to have its own file.

View 4 Replies View Related

Shell Script To Copy And Rename Files

Aug 27, 2007

To automate a task, I need to create a shell script that will allow me to copy the folder blank/ to a new location and rename it to news/, same for the files inside that directory. And, if possible, change the content of one of those files as well.

For example, I need to copy this:

Code:
blank/
templates/
frontend/
index.html
Blank.php
...to a new folder and rename it to this:

Code:
news/
templates/
frontend/
index.html
News.php

View 5 Replies View Related

HOWTO Cron Job To Copy Files From Folder To Root

Feb 5, 2008

how to setup a cron job to copy files & directories from one folder to the root folder. I have CPanel X.

My root directory is public_html/
I have another directory public_html/uploads containing both files and directories.

I need a cron job that will copy all the files & directories from public_html/uploads to the root public_html/

If it helps, here is some system info

General server information:
Operating system Linux
Service Status Click to View
Kernel version 2.6.22_hg_grsec_pax
Apache version 1.3.39 (Unix)
PERL version 5.8.8
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
PHP version 4.4.4
MySQL version 4.1.22-standard
cPanel Build 11.17.0-STABLE 19434
Theme cPanel X v2.6.0

View 1 Replies View Related

Linux (SuSE) Remove Files Ending

Nov 3, 2007

Does anyone knows how on Linux (SuSE) remove files ending with (lets say) *.1.0.1
when I try rm *.a.1

it outputs - to many arguments if rm test.* - everything is fine.

View 2 Replies View Related

Plesk 12.x / Linux :: Failed To Copy Files Storage To Destination Path - Disk Quota Exceeded

Mar 3, 2015

I am having problems with two accounts, I get the following errors:

Code:
Failed to copy files storage to destination path. stderr: filemng: Cannot open destination file '/var/www/vhosts/domain.tld/httpdocs/index.html.Chn3rn' System error 122: Disk quota exceeded stdout: filemng: Cannot open destination file '/var/www/vhosts/domain.tld/httpdocs/index.html.Chn3rn' System error 122: Disk quota exceeded

I have run the command

Code:
quotacheck -avugfm

And the output from the command

Code:
df -i

is:

Code:
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/vzfs 20000000 1542375 18457625 8% /
/dev/simfs 20000000 1542375 18457625 8% /tmp
/dev/simfs 20000000 1542375 18457625 8% /var/tmp
none 1415577 113 1415464 1% /dev

I am at a loss, I don't know what else to try.

View 1 Replies View Related

Plesk 11.x / Linux :: Remove Domain Alias Warns It Will Delete All Related Files

Sep 2, 2013

I think the wrong text is displayed for the option "Remove Domain Alias".

In Plesk 11.5.30 Update #13, in a Webspace, on the Websites & Domains tab, if I click an alias, a window appears for the alias with the option to "Remove Domain Alias". If I move the cursor over the text "Remove Domain Alias", or click on the link, I see a pop-up: Removing this website will also delete all related files, directories, and web applications from the server.

I think this is incorrect because removing an alias should not remove any files, directories, and web applications.

View 3 Replies View Related

Copy An Account From Another Server Via WHM - Cannot Copy Mysql Database

Oct 7, 2008

In previous thread we made few manual transfer of our domains.

We also made some automated migration of few domains/sites using Web Host Manager's Copy an account from another server feature.

All the files and other settings were properly transferred from old server to new server, but only the mysql database is not visible on new server. I am unsure if the same got copied to new server.

View 4 Replies View Related

Windows Batch / Regex

May 20, 2009

how to convert this line of text

"Your server is now available at [url]

to

"67.202.30.141"

In other words, extract the IP address from that URL (replace dashes with dots etc)?

This needs to be inside a windows batch file.

View 2 Replies View Related

Batch Name Server Check

Dec 31, 2007

i want to check in a batch if my client's domain changed name server or not. Are there are tools / script available for that?

View 5 Replies View Related

Batch Edit Of Name Servers In DNS Zone

Oct 17, 2007

batch edit of the name servers in every DNS Zone for every domain on one of my cPanel/WHM boxes. Rather than using WHM to manually modify the NS entries, I would like to find a way to do a batch or mass edit.

I simply need to change all instances of NS1 to NS3 and NS2 to NS4.

I was told a simple one line sed script should do the trick on /var/named but alas, I am woefully incapable of writing such a script.

Does anyone have any ideas? With over 200 domains on this box I'd hate to think this will have to be done manually.

View 2 Replies View Related

Apache :: Password Htdigest In Batch

May 22, 2013

I would to use: htdigest -c filename.htpasswd Group usernamein file batch to insert a set of users with password.I can use it without having to enter the password from the keyboard?I tried echo pass| htdigest -c filename.htpasswd Group username but it does not work.

View 1 Replies View Related

Copy Files From Raid5's HD To Raid5's HD

Jul 21, 2009

i use Adaptec 2200s with three scsi HD to do raid,

it is install centos with cpanel.

after rebooting,it can not load into the raid5 well,

and shows no logical drivers... and no operation system found.

i try to add new hd,but it still do not build and run.

i think it may the raid5 configuation on the three HDs are missing are ger problem or it will not work at all.

i want to ask,if a use another three hds with the Adaptec 2200s to set another raid5.

and build another one server.

and i mount the old first one HD from the old raid5 and mount the new first one HD from the new raid5,

and copy the files from old ones to the new ones.

View 3 Replies View Related

Plesk 12.x / Windows :: Change Customer Name CNAME Through Batch

Nov 2, 2014

I am trying to change the cname through a batch.. It is successfully done for English language but I want to use Arabic language. When I am using Arabic it appear like this "????".

View 1 Replies View Related

Plesk 12.x / Linux :: Batch MySql Script Stopped

Oct 2, 2014

I've this terrible problem: on my site I start a script that executes a batch process that imports into the Mysql database a lot of products (texts and images). I'm monitoring the query process from Phpmyadmin>Status and I notice that after some minutes the number of queries decreases from ~900 to ~30, that means that the script is stopped! Then I check the error_log and infact there's this error:

[Thu Oct 02 17:09:34 2014] [warn] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Thu Oct 02 17:09:34 2014] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: insert_products.php

Some informations:
VPS server: 1 CPU; 40gb; RAM 1GB
OS: CentOS 6.5 (Final)
Plesk version: 12.0.18

What I tried via SSH console:

# /usr/local/psa/admin/bin/php_handlers_control --list
id: display name: version: type: cgi-bin: cli-bin: php.ini:

module 5.3.3 5.3.3 module /usr/bin/php-cgi /etc/php.ini
fastcgi 5.3.3 5.3.3 fastcgi /usr/bin/php-cgi /etc/php.ini
cgi 5.3.3 5.3.3 cgi /usr/bin/php-cgi /etc/php.ini
# /usr/bin/php-cgi -v

[code]....

View 2 Replies View Related

How To Do Batch Convertion Of Note Local Archive To Exchnage PST For Thousand Users

Jun 12, 2008

How to go about that.

Anyone have done that before care to share information?

View 0 Replies View Related

Remove Empty Folders And Remove From A Db

Jul 22, 2009

ive got a site which auto creates subdomains and installs a script automaticly and inserts details into a mysql db. i have had some issues recent so have loads (talking 100s) of folders that are empty which i need to remove, and to remove the details of said folder from db also. any ideas how i can do this, using plesk control panel so removing the subdomain via plesk cli may be the best way in that respect but the db is external to plesk so that would not be edited

View 0 Replies View Related

Copy Sql

Jan 11, 2008

How do I copy an entire mysql sql database file via ssh?

Inside /var/lib/mysql the sql are per table, not one single sql. The db is over 300mb in size too.

Using mysql 5/centos 4.6

View 2 Replies View Related

Transferring 200 Files : Total Files Size Is 25 GB!

Jan 2, 2008

I couldn't keep my mouth shut (technically fingers). A customer wanted to upgrade servers and he needed a way to move the data across. Since I don't allow hard drives to be swapped, they have to do it manually all by themselves. I generally allow up-to 4 days for them to transfer data and make DNS changes, etc. But this time, I offered help! I agreed to move the data (darn me) and it just came out of me, involuntarily.

God knows what just happened... but in a positive way, customer is extremely happy!

So...

Both servers are on cPanel - with root access (duh)

200 odd files which total to 25 GB

1 database about 100 MB in size (no biggie)

I was planning on using one of my Windows 2003 servers (via remote desktop) to download the 25 GB and upload the 25 GB, but that sounds like a waste of resources and time.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved