2
votes
2answers
175 views

Copy entire filesystem in a folder where a raid-1 array is mounted

I am trying to migrate from a single disk drive system to a double disk drive software raid-1 system that already has a running system on it. Meaning that formatting and having a new installation of ...
0
votes
2answers
485 views

Linux Shell - How to copy directory without symlink

I would like to get everything inside one directory. How can I copy entire directory (that originally contains files and symlinks) to a new directory that should contains all files but no symlink?? ...
0
votes
3answers
1k views

copy and rename files

Here are my access logs those I want to backup. /var/log/httpd/access_log /var/log/httpd/access_log.1 /var/log/httpd/access_log.2 /var/log/httpd/access_log.3 ... I want to copy all these files but ...
0
votes
2answers
72 views

Copy data to a directory

I use the following command to copy data and it is working as expected. cp -pr --reply=yes /db-nfs/mysql3/* /db-nfs/mysql5/ 1) Is there a better way? 2) I want to copy the same data to ...
4
votes
3answers
2k views

Best way to copy large amount of data between partitions

I'm looking to transfer data across 2 lv of an HP-UX server. I have a couple of those transfers to do, some of which are mostly binary (Oracle tablespace...) and some others are more text files ...
6
votes
2answers
11k views

Turning off cp (copy) command's interactive mode (cp : overwrite ?)

Does anyone know how I would turn off the interactive mode when using cp? I am trying to copy a directory recursively into another and for each file that is getting overwritten I have to answer 'y'. ...
1
vote
1answer
269 views

Server Load Spikes On File Copy — Server Goes Unresponsive

This has been a problem that we've been battling for some weeks. Whenever large files are copied on the server (both with rsync and cp) the server load initially goes up to 6 or 8 and stabilizes. At ...
1
vote
1answer
549 views

Getting Linux copy to handle failing links

I just started using the nifty rsnapshot utility for backups to our NAS. I really like the tool (which uses rsync and links unchanged files to keep the backup size down), but I'm running into ...
8
votes
5answers
3k views

resume file copy linux

How do I resume a copy of a large file in linux? I have a huge file (serveral gigabyes) partially copied to a network drive, and it took a long time, and it was mostly done before the copy operation ...
13
votes
6answers
7k views

Unix copy command that has a progress bar, but not as heavy as rsync

I need to copy lots of files. Usually I use rsync because I pass it the -aP options and I can see (a) how many files are left to process and (b) how much of each individual file is copied. However ...
9
votes
5answers
12k views

Recursively copying hidden files - Linux

Is there an easy way to recursively copy all hidden files in a directory to another directory? I would like to back up just all the settings files in a home directory, not the normal files. I tried: ...