copying Questions

12

Solved

I have a table with 3.4 million rows. I want to copy this whole data into another table. I am performing this task using the below query: select * into new_items from productDB.dbo.items I ne...
Censorious asked 14/3, 2011 at 8:5

13

Solved

Is there any way to copy a really large file (from one server to another) in PowerShell AND display its progress? There are solutions out there to use Write-Progress in conjunction with looping to...
Bulldoze asked 12/3, 2010 at 16:29

3

Solved

I want to copy a file from my local system to a remote host. I want to specify the file name while copying. This is my command for copying. scp config/1 root@remote:/home/user/config/2 I want t...
Historicism asked 28/7, 2016 at 6:25

6

Solved

Frequently, my workflow involves data cleaning/munging in an IPython shell. This has become particularly wonderful since IPython version 5.0 with all the great upgrades to the terminal interface. S...
Malvasia asked 9/12, 2016 at 23:23

10

Solved

Suppose I have two classes with the same interface: interface ISomeInterface { int foo{get; set;} int bar{get; set;} } class SomeClass : ISomeInterface {} class SomeOtherClass : ISomeInterfac...
Coben asked 19/11, 2008 at 22:5

3

Solved

I have created one script to copy the local files to the remote folder. The script is working fine outside of if condition. But when I enclosed inside the if condition the put command is not workin...
Parcheesi asked 13/12, 2018 at 12:31

5

Solved

I am writing a shell script to put data into hadoop as soon as they are generated. I can ssh to my master node, copy the files to a folder over there and then put them into hadoop. I am looking for...
Arachne asked 30/6, 2012 at 0:33

4

I have two folders (say "A","B") which are in a folder (say "Input"). I want to copy "A" and "B" to another folder (say "Output"). Can I do this in R?
Sigismundo asked 27/7, 2015 at 13:55

7

Solved

I have 2 objects from the same type and i would like to shallow copy one state to the other. In C++ i have memcpy which is great. How can i do it in C#? The MemberwiseClone() is not good enough bec...
Anathema asked 4/2, 2009 at 11:37

13

Solved

What is the best way to copy the contents of one stream to another? Is there a standard utility method for this?
Kropp asked 23/10, 2008 at 15:16

3

Arrays and structures in C store data in memory which is contiguous. Then why is that C does not allow direct copying of arrays using "=" where as it is allowed for structure. Example: int a[3] = ...
Croup asked 18/8, 2013 at 6:6

3

Solved

On collection, the garbage collector copies all live objects into another memory space, thus discarding all garbage objects in the process. A forward pointer to the copied object in new space is in...

4

Solved

I have an Image. I need to make a exactly copy of it and save it to BufferedImage, but there is no Image.clone(). The thing should be inside a calculating loop and so it should be really fast, no p...
Masaryk asked 14/1, 2012 at 18:15

1

Solved

I was wondering after using computer for a long times it feels like copy paste was fundamental feature but I know it is not. So the question is how does this really work? I thought of all ideas h...
Bohlin asked 19/10, 2018 at 7:19

4

Solved

I have a lot of files from one side (A) and a lot of other files in other place (B) I'm copying A to B, there are a lot of files are the same, but content could be different! Usually I used mc (M...
Liverpudlian asked 27/10, 2011 at 10:26

3

Solved

I wanted to transfer elements from a string to another string, and hence wrote the following program. Initially, I thought that the for loop should execute till the NULL character (including it i.e...
Sunup asked 20/2, 2016 at 12:55

1

Solved

Issue is what the title says. Earlier I used to copy text from text files open in vim simply by selecting text and doing Ctrl + C. But now it puts me into visual mode, thus not allowing to copy the...
Mulkey asked 12/10, 2015 at 9:17

7

Solved

I have a list in python and I'd like to iterate through it, and selectively construct a list that contains all the elements except the current k'th element. one way I can do it is this: l = [('a',...
Araiza asked 26/1, 2010 at 20:36

2

I have gone through this site. From here I got that pinned memory using cudamallocHost gives better performance than cudamalloc. Then I use two different simple program and tested the execution tim...
Hopple asked 17/4, 2014 at 12:32

3

Solved

Can anyone tell me what I've done wrong with the following code. I receive no errors - it just goes straight to the catch. import java.io.IOException; import java.nio.file.Files; import java.nio.f...
Alfaro asked 12/4, 2012 at 15:38

5

Solved

I'm trying to copy files from one directory into another ONLY if those files don't already exist. So if I have directory A with files "1.txt, 2.txt, 3.txt" and directory B with files "1.txt, 2.tx...
Waldack asked 31/7, 2014 at 3:33

1

Solved

[EDIT: The issue prompting this workaround has been fixed since R 3.1.0.] I was asked elsewhere to post this as a self-answered question. When an R function accepts an arbitrary number of paramet...
Veg asked 4/3, 2014 at 22:56

2

Solved

Is it the caller or the callee copying or moving the return value of a function? For example, if I want to implement the pop() function of a queue, like this template <typename T> class que...
Container asked 2/7, 2013 at 8:53

3

Solved

I'm trying to copy my .profile, .rvm and .ssh folders/files to a new computer and keep getting a "not a regular file" response. I know how to use the cp and ssh commands but I'm not sure how ...
Inning asked 14/9, 2010 at 16:36

2

Solved

I want to create two users on my MySQL test database, One with read-only access to tables relevant to generating reports, etc, the other with read-write access to the same tables. This is for testi...
Moonshiner asked 6/7, 2011 at 14:40

© 2022 - 2025 — McMap. All rights reserved.