The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
109 views

Copy directory to external from corrup driver

i need help critical, rifht now a HDD in my server its corrupt, need to force fsck over the partition (ext2 ubuntu 8.10), but I need to extrack files before the command for secure reasons.. I get ...
0
votes
2answers
187 views

How create ghost images and copy to many drives [closed]

I am looking for the cleanest and most reliable solution to create ghost images of a windows 7 based machine and copy these images to multiple hard drives. I am looking for the software needed to ...
-1
votes
2answers
176 views

Moving Large Files Between Servers

I NEVER have to do this. But I know its a common problem. Yet, I'm not sure how to tackle it. I have a server (Windows Server 2008) that I access remotely. This server is NOT on the same domain as my ...
5
votes
2answers
422 views

Best way to transfer files from one server to another using a third server

Here's the scenario: ssh +------------+ +---->| Server 2 | +------------+ | +------------+ | Server 1 +---+ +------------+ | +------------+ ...
-1
votes
2answers
317 views

copy file: Not a directory

I have a NAS mount, and I can copy file to this, but I can't copy files similar to this cp /home2/user/WRF/WRFV3/run/*_2 . -v `/home2/user/WRF/WRFV3/run/wrfout_d04_2007-11-21_00:00:00_2' -> ...
2
votes
1answer
949 views

rsync not working - want to copy only certain subdirectories and files

Hi let's say I have a directory like this: / my_work /dir1 keepdir1.ddd keepdir2.ddd file.cfg (lots ...
0
votes
2answers
338 views

Copying Centos to another server

I just did a fresh install of centos and spent ages adding all my standard libraries. Is there a way I can easily take a copy of this build and deploy to another new server?
3
votes
7answers
6k views

Copying huge files between two remote machines - Efficiently

I have a shell script which keeps on copying huge files (2 GB to 5 GB) between remote systems. Key based authentication is used with agent-forwarding and everything works. For ex: Say the shell script ...
0
votes
2answers
691 views

Clone Flash Drive in Linux using DD

dd if=/dev/sda of=/dev/sdb I want to create a clone a bootable USB stick. lets say sda is 2GB sdb is 32GB. The above line will create a replica but the usable size will be 2GB. How can I use the ...
1
vote
1answer
83 views

Windows secure file copy

I'd like to setup a secure file copy to some of my servers. A particular login (not Active Directory or Windows login) would have access to a starting point (e.g. c:\a\www) and then that login would ...
3
votes
4answers
1k views

Copy a range of files in command line (ZSH/BASH)

I have a list of files with consecutive numbers as suffixes. I would like to copy only a range of these files. How can I specify a range as part of my cp command. $ls P1080272.JPG* P1080273.JPG* ...
3
votes
4answers
8k views

Linux / mysql: is it safe to copy mysql db files with cp command from one db to another?

Most guides recommend mysqldump and simple SQL for copying one table to anoter db. How about linux shell cp? Can I just simply do cp /db1/mytable.frm /db2/mytable.frm
0
votes
2answers
44 views

Database not browsable during COPY on PostgreSQL

When using COPY to restore a CSV file, phppgadmin shows that the real database size(4GB) but when I choose to browse the table it shows Estimated row count to 0. I did a VACUUM ANALYZE. simple SELECT ...
0
votes
1answer
161 views

ssl handshake failure with COPY on PostgreSQL

I'm restoring a CSV file to database with COPY command. The csv file is bziped. I use this command: bunzip2 -c -d online-20110923000001.csv.bz2 | psql -U user -h 127.0.0.1 -d testdb -c "COPY data ...
3
votes
2answers
611 views

Copy files from SVN server to external server via FTP

Currently I have about 5 servers, one I would like to use as a SVN server for development reasons, but I want it to be able to update the external server such as copying committed files to the ...
2
votes
2answers
372 views

Microsoft Terminal Server clipboard corruption

I've got a client running Terminal Server 2008 R2, connecting from Windows XP terminal services client (not sure of the local RDP version, I think they've got all their service packs though) and ...
5
votes
2answers
1k views

Fastest way to copy folder that contains many files via SSH

What is the best way to duplicate files on server via ssh? In my case: I'm talking about duplicating magento shop. (15000 files ~ 50MB) cp -a source destination Is taking hours... (in my case ...
0
votes
1answer
554 views

USB stick unmounts itself, becomes unavailable ?!

On Centos 6, I am trying to copy some files from a Fat32 stick. I do a "fdisk -l" then take that name and mount it with this command: mount /dev/sdb1 /mnt/usb I see the files there (I didnt count ...
2
votes
2answers
394 views

Copy whole files only

Is there any way to copy directory from one filesystem to another but remove the partial file in case we run out of disk space on target filesystem? I searched cp and rsync manuals but did not find ...
4
votes
2answers
679 views

Why does a CP command on linux consume CPU?

I just run a copy command for two large directories with a small number of huge files and I see my cp process is consuming around half a core in top: 51116 root 20 0 110m 876 688 D 43.9 ...
6
votes
5answers
5k views

Rsync : copying over timestamps only

Currently I have two directories A/ and B/ which are identical in every respect, with the exception of the timestamps. Therefore if I run the command : rsync --dry-run -crvv A/ B/ then all files ...
0
votes
1answer
125 views

How to use rsync to copy images and dir

I am in the middle of merging 2 directories into 1. /competitions/1 /competitions/2 /competitions/3 /gallery/1 /gallery/2 /gallery/3 I want to copy all the files in /competitions to /gallery and ...
0
votes
4answers
2k views

How to copy a file with filename “+” and rename it?

I have a file named +13x18_DSC_0800.JPG on a linux server (Please don't ask me how it got there as I have no idea how it got there). I wish to rename it to 13x18_DSC_0800.JPG. However I have not ...
0
votes
2answers
858 views

Powershell Copy-Item fails silently

I have a PowerShell 2.0 script running on Windows Server 2008 R2 64bit that copies some Hyper-V .vhd files to another server as a 'backup solution'. The script gets a list of the .vhd's to copy then ...
1
vote
3answers
210 views

Best Practice: Copy a file at a certain time?

I've been wrangled into the world of Windows system administration. Coming from a Linux sysadmin background, I am looking for the best way to copy a file to a directory at a specific time. (Change ...
6
votes
2answers
1k views

How to stop users from running CPU heavy programs on a server?

I have a 24 core server, which users connect to through SSH. It is not meant for them to run CPU heavy programs like MATLAB, R or their own scripts that perform simulations or things like that. Are ...
2
votes
1answer
778 views

Raw copy with sector precision on windows

Is there some program for windows that is able to do what dd does in linux out of the box? I need to copy from a file to a physical disk in raw mode where I need to define offsets for input and ...
1
vote
2answers
215 views

Which is the most reliable means of copying archives using binary deltas across Windows SMB shares?

I've been searching for the quickest way to copy some WAR and JAR files for huge software deployments between Windows systems. Clearly, multithreaded robocopy or any rsync protocol implementation will ...
0
votes
5answers
186 views

search files based on text file containing list of files

I have a text file containing file names only (it does not contain their paths). I need to find these files which may lie in any of the subfolders and then copy or move them to other location. To find ...
2
votes
1answer
431 views

Copying File into hidden folder

I'm attempting to copy a URL link for our companies library system onto all users workstation desktops. I've tried creating a shortcut via Group policy: User Configuration > Preferences > Windows ...
4
votes
2answers
2k views

Why does the .NET Folder.CopyHere Method not allow dialog suppression for .ZIP files when run within a SQL Server Agent PowerShell job step?

I am using PowerShell in a SQL Server Agent job step to automate the extraction of .ZIP file contents to a directory. Based upon highest-voted answer on this question: How to zip/unzip files in ...
0
votes
1answer
125 views

How to copy only a specific amount of file?

I have a directory with almost 100,000 files inside. I want to copy 20,000 of them to another directory. Is it possible to do this with the cp command or is there any other way?
2
votes
4answers
979 views

fastest way to mirror a directory containing millions of small files

I need to copy a 700G ISCSI mounted folder to a folder on the local hard drive, while maintaining the existing permissions and ownership. The data in the folder consists of about a million mostly ...
1
vote
2answers
381 views

ssh tar copying - missing files

On copying directory "home" (from remote machine) to local machine using the following command: ssh root@remote.machine 'tar -cz -C /home/*' | tar -zxv The number of files after the transaction ...
0
votes
3answers
2k 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 ...
1
vote
2answers
75 views

Batch file problems

I have created a batch file to copy and zip up an entire drive of data on my server. I have selected the D:\ drive to be copied and zipped. However, I have one problem. When I run the batch file, only ...
2
votes
4answers
903 views

Copy a SQL Server DB to an external HD

I found a lot of similar questions in the archives, but none quite answered this. I need to copy a database from one server (SQL Server 2008) to another. Each server is in its own system, and no ...
1
vote
1answer
422 views

ntfsclone reports “Can't read sector at 470585344, lost data”. How can I determine what file that is?

I used ntfsclone from ubuntu to copy a bad windows hard drive to a new one using: sudo ntfsclone --rescue -f --overwrite /dev/sda1 /dev/sdb1 which produces the following: WARNING: Can't read ...
3
votes
2answers
409 views

Linux Server user copy

Is there a way to copy user list (with data and passwords) from one server to another. We have two servers and one of those is new. I need to create same users (that exist in /home/) and set same ...
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 ...
2
votes
2answers
336 views

How to effeciently copy large amount of data dvd's to disk? [closed]

Anyone have an ideas on how to copy many dvd's to disk effeciently? Currently we are inserting each disk individually and copying them then un-mounting them, inserting the next disk and so on. ...
6
votes
4answers
3k views

How can I reduce resource usage when copying a large file?

I need to move a large file (corrupt MySQL table ~40GB) onto a seperate server in order to repair it. (When trying to repair on my production server, it quickly killed the server). In order to do ...
2
votes
3answers
1k views

How to make a byte for byte copy of a drive? [duplicate]

Possible Duplicate: Using DD for disk cloning What's the easiest and most reliable, risk free, way of making an exact copy of a hard drive? We have a drive that's been messed up by someone ...
0
votes
2answers
954 views

How to upload (and measure) SFTP in parallel?

I've got a remote server that I can access via SFTP. (Not FTP over SSL. SFTP.) Periodically, I need to push a few thousand new files to that machine. How can I: Upload upload these in parallel? ...
0
votes
1answer
406 views

Windows Server hard disk writes slow down after about one minute

I'm copying a 130 GB SQL Server backup to my Windows 2008 server, and to start with I get write speeds around 80 GB/sec, which is about what I'd expect. However, after the initial burst about a ...
5
votes
4answers
395 views

Windows copy command process info

Is there any specific package for copy command which shows the process of being copied. In windows while using copy from command line I could not see the process but the blinking cursor and I'm ...
0
votes
4answers
2k views

RDP Clipboard File transfer in Windows Server 2008 R2

Hallo, i dont like the "new" Feature in Windows 2008 R2. We had some Terminalserver and there Work a lot of Users. If the User anable the Clipboard Funktion in his Remote Desktop Connection, the ...
0
votes
1answer
298 views

how to copy text from xterm based terminal to some other gui application on linux

i use uxrvt ( for those who dont know, its terminal emulator based on xterm). i know its easy to copy/paste stuff from terminal to itself is a trivial thing. it can be done by mouse left click to ...
0
votes
2answers
335 views

copy files created in one folder to multiple other folders on linux

I'm looking for a way to copy photos that are uploaded to one folder to many other folders and visa versa. Example: a photo is uploaded to folder 1, it is then copied to folders 2-5. And if a photo ...
1
vote
4answers
613 views

Batch change modified/created dates?

I recently bought new hard drives for my NAS. This means that I'm copying all the data off the NAS, upgrading it, and then moving the data back. I've gotten as far as copying the data from the NAS, ...