The tag has no wiki summary.

learn more… | top users | synonyms

7
votes
3answers
9k views

How to let 'cp' command don't fire an error when source file does not exist?

I'm using Mac OS X. I'm trying to copying some files with cp command for a build script like this. cp ./src/*/*.h ./aaa But this command fires an error if there is no .h file in ./src directory. ...
3
votes
2answers
893 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
votes
1answer
28 views

Bash shell copy files on the hidden directory [closed]

Need help with Unix script. how do you use /bin/cp to copy files from /somepath/somedir/somewhere/.temp_folder to /somepath/somedir/somewhere/ my line /bin/cp -r somepath/somedir/somewhere/.[!.]* ...
0
votes
2answers
15 views

used mv file.sql /folder instead of mv file.sql folder/

Hello I made the mistake of using mv file.sql /destinationfolder instead of mv file.sql destinationfolder/- using su root. Now I can't find my sql file. is there a way to find it/recover it?
7
votes
4answers
980 views

linux to linux, 10TB transfer?

I've looked at all the previous similar questions, but the answers seemed to be all over the place and no one was moving a lot of data (100GB != 10TB). I've got about 10TB that I need to move from ...
0
votes
1answer
757 views

Copying files from OSX to samba, force create mode not working

I have a problem whereby I have set up a samba share with these parrameters: [Design] path = "/sec/projects/design" writeable = yes browsable = yes valid users = @design force group = design force ...
-2
votes
1answer
71 views

Can I Copy a File Without hitting the RAM?

I suspect that I have a bad stick of RAM in a Linux development server. I'm trying to copy an 80Gb file off of the server to an external hard drive. CRC of the copied file does not match that of the ...
15
votes
4answers
17k views

How to copy file preserving directory path in Linux?

I have Eclipse projects and ".project" file in them, the directory structure looks like 'myProject/.project'. I want to copy these '.project' files to another directory, but I want the enclosing ...
0
votes
3answers
640 views

Copy a file to multiple windows machines

How can one copy a file, from his windows computer, to a cluster of multiple windows machine, with one command? I thought about using psexec, but that also tries to execute the file...
5
votes
14answers
5k views

How do you copy huge (millions) directory trees in Windows?

I have a NTFS partition that has a folder that holds over 5 million directories. Each directory contains more directories and then files. I am moving to SSD and I need to copy all these data over to ...
0
votes
3answers
2k views

how to copy to shared folders from command-line in vmware-workstation?

I've been trying to access my shared folders from the command line in my virtual machine with no luck. I've stumbled across a couple of references to using net use to establish a virtual drive, but i ...
3
votes
7answers
37k views

Slow network file copy on Windows 7

I wrote a program that uses xcopy to transfer files (usually between 1KB and 2MB) over our intranet. Usually, I am copying files from my host machine (Windows 7 x64) to a VMWare virtual machine ...
2
votes
1answer
74 views

Is file copying limited by free space on C drive?

I have some Windows Server 2003 and 2008 boxes that have files I need to copy that are in the range of 20 GB to 80 GB ranges. The 20 GB files transfer without a problem from one server to another ...
0
votes
2answers
127 views

Need to copy 100 TB of data from Dell EQL NAS to another Dell NAS, what is the best and fastest method?

I have a Dell Equallogic NAS group, capacity 500 TB. Need to move off 100 TB out of it to another similar NAS group. Storage arrays are PS6500E (5 of them in one group) and NAS heads are FS7500. ...
14
votes
7answers
8k views

Copy permissions to identical tree on linux / unix

i have a tree of files with correct permission. then i have a (filewise) identical tree (with different file contents tough) with wrong permissions. how can i transfer the permissions layout from ...
0
votes
1answer
201 views

Why does xcopy fail when there is obviously enough space?

I have a 2TB hard drive "D" containing 732GB of data on a 2TB NTFS partition that I want to copy (absolutely everything on the drive) to another drive "F" with 981GB of space (its freshly formatted ...
0
votes
1answer
79 views

LVM - Moving data between Logical Volumes within the same Physical Volume

I will have two logical volumes that exist within one physical volume (RedHat Linux LVM). I will also be moving a lot of data between these LVs. My question is: Does the data get moved on the actual ...
1
vote
0answers
3k views

Copying files from local server to remote server using powershell

Apologies if this has already answered directly or indirectly in SF. My requirement will be as follows: Move a deployment folder that has got files and subdirectories to a remote sever. Pass ...
0
votes
2answers
2k views

How to run multiple commands with psexec? [duplicate]

I need to run a command to uninstall forefront on some of our workstations and am having a bit of trouble formatting the command. Here's what needs to happen (in multiple commands) xcopy ...
2
votes
4answers
1k 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 ...
0
votes
1answer
124 views

Convert Folders to VHD file

I have a partition 200 GB contain 100 GB of Data, the Data is a huge number of files and folders (about million of files and folders). I want to copy this 100 GB of Data to another partition but i ...
3
votes
5answers
3k views

How do I copy a directory tree but not the files in Linux?

I want to copy about 200 directories & subdirectories from one location to another but I don't want to copy the thousands of files within those directories. I am on Linux. Note: I don't have ...
3
votes
4answers
10k 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
1answer
324 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 ...
7
votes
2answers
13k 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'. ...
0
votes
2answers
41 views

Copying files up or down

Considering two file servers which use most of their bandwidth to send files to clients on the worldwide interwebs. Every now and then Server 1 needs to store one of his files on Server 2, they both ...
3
votes
5answers
664 views

What is the most efficient way to push out/publish large sets files over a network?

Here's my scenario: We have a need to push out a set of files (a 'workspace') from a source server to multiple destination servers. The files are kept under version control (SVN) so the first step is ...
2
votes
1answer
2k views

ESXi 4.0 - cannot copy files

I am unable to copy files or make directories on my installation of VMWare ESXi 4.0. I have done so in the past (copied an iso onto a datastore). But something has changed and I have no idea what. I ...
0
votes
1answer
111 views

LVM2: How to copy snapshots?

I read What does an LVM2 Snapshot contain? and LVM Snapshot confusion. What I'm trying to figure out is if there is a way to create a copy of an LVM snapshot for use with different Xen VMs. I know ...
0
votes
1answer
302 views

Bacula copy job cannot find device

I have one bacula server on site which regularly backup all my servers. Now i am trying to create copy job which should copy all full backups to offsite. But i still getting error: Device ...
0
votes
3answers
801 views

Sync directory across two servers using rsync (or alternative for syncing directories)

I have two VMs that should have identical files in this directory: /var/www/owncloud/data/admin/files/ I initially thought that I could use rsync with cron to copy the files every two minutes: On ...
0
votes
4answers
72 views

Limit copy speed

Unfortunately we have a pretty bad HDD performance on one of our servers and as soon as we start bigger copy process it stops to deliver any Apache response, which is really bad. Is there a way to ...
1
vote
1answer
520 views

Long 'pause' after copying large files on windows 2008

I have a mystery regarding pauses after file copies on windows server 2088 (and other releases) When copying large files, like vhds, to locally attached USB disks I often see a long pause after the ...
0
votes
1answer
338 views

how to copy sql server database on same server

I've got a SQL Server 2008 and want to make a copy of a database so I've got a 2nd Version of the database for testing on the same server. The database copy wizard is not able to copy the database, ...
0
votes
2answers
3k views

How to share the clipboard between Windows Server 2008R2 and a guest running Ubuntu 12.04? [closed]

I use Windows Server 2008 R2 with Hyper-V and a guest running Ubuntu 12.04 LTS. How can I share the clipboard between Windows Server 2008R2 and a guest running Ubuntu 12.04? UPDATE What protocols ...
0
votes
2answers
66 views

Copy files from path to path same structure for each user

How to copy files from source /backup/cpbackup/daily/a1/public_html/index.html /backup/cpbackup/daily/b2/public_html/index.html /backup/cpbackup/daily/c3/public_html/index.html ...
0
votes
1answer
34 views

Can I copy root to the root of another computer? [closed]

On Linux, if I copy the root from linux machine #1 to a fresh install of linux on separate machine #2, will machine #2 contain the exact setup as #1? Or do I -have- to create images of the drive and ...
14
votes
7answers
39k views

How to cp file and create directory if not exists?

I want to copy modified files in a svn repository to another directory, while keep their directory structure. After reading awk and xargs manpage I find a way to get changed filenames like this: $ ...
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 ...
1
vote
1answer
82 views

Some files are not transferred by using rsync between 2 servers

I used rsync with -av parameter to migrate a website from one server to another. there was no error displayed but the size of the folders are not the same and the website does not work correctly. so ...
0
votes
1answer
128 views

Copy over lan : best way to segment copy?

I do not really know where to post my message. Networks or system or scripting, so ... I have a requirement in my company. Here is the goal : Monthly I'll have to copy a package> 500MB on 25 ...
-1
votes
3answers
988 views

How to Copy files from one Ubuntu server to another? (MYSQL Database for website migration) [closed]

I'm very new to Ubuntu and my first task is to copy one website with a MySQL database to another server. Both servers are virtual machines and in the same environment. I have both the IP addresses and ...
0
votes
2answers
203 views

How to copy many files within Windows LAN through ssh fast

In a remote LAN I want to copy (not move) a set of ca. 5000 (already zipped) files, in sum 30 GB, between 2 directories (storage, connected as drive letters by net use) regularly, but only after ...
0
votes
0answers
2k views

Reasons why Robocopy would skip a folder and not write it to the log file

I'm in the process of trying to troubleshoot a Robocopy job on Windows 2008 R2 SP 1 where the job states that a folder was skipped in the copy process (at the end of the copy job) yet does not show 1) ...
1
vote
3answers
2k views

RichCopy - Suppress Splash Screen and Run Quiet?

RichCopy looks to be a great tool with some features that RoboCopy lacks. I'm trying to use it to back up media on a Home Media Server project I'm working on so I need to be able to run it from ...
5
votes
2answers
13k views

How do you use SCP to copy a deep directory?

I need to copy a deep directory on one windows machine over 'itself' on another windows machine. I can't seem to get the command to work correctly. The current problem is that it appears that scp is ...
4
votes
2answers
7k views

Move files to another directory which are older than a date

I am looking for a solution to move files that are year older from today. My log partition is getting full, but I can not remove them. They are needed for a long long time. Anyway one solution I came ...
0
votes
0answers
100 views

Can we copy some selected users to another server?

I want to run my FTP configuration with pure-ftpd-mysql on my servers. My both servers use ISPconfig with MySql replication. I use RSync to copy my data from my server 1 to my server 2 (backup ...
0
votes
3answers
236 views

File copy between two servers programatically

Here's what I'm trying to do: I need to automate process of copying files from server A to server B. I ideally would like to have a script that is invoked by a cron job periodically on server B. ...
0
votes
1answer
222 views

cisco small business 300-10 managed config import fails

Device: cisco small business 300-10 10-Port Gigabit Managed Switch Firmware: 1.2.7.76 The config installation via webinterface with TFTP or http fails with following message in the console ...