Questions tagged [copying]

71 questions
99
votes
10 answers

How do I do Multihop SCP transfers between machines?

I want to copy a file from my machine A to server C, but only have access to server C through server B. Instead of first transferring to server B, log in and then transfer to server C, Is is possible to transfer the file directly with SCP or similar…
sverrejoh
  • 1,091
  • 1
  • 8
  • 4
18
votes
6 answers

Which is faster, and why: transferring several small files or few large files?

I soon will have a folder with thousands of files, each file on the order of a few KB. I will need to transfer these across a Windows network from one UNC share to another. In general, is it faster to simply copy the files over en masse, or would…
kestes
  • 183
  • 1
  • 2
  • 5
17
votes
12 answers

How can I copy a VHD image back to a physical disc?

It's quite easy to backup a real drive to VHD, e.g. with Sysinternal's Disk2VHD on XP or with Windows Image Backup on Windows 7. But how do I copy that file back? It's possible by booting a recovery CD or the Windows installation DVD. But can it…
Christian
  • 1,033
  • 5
  • 16
  • 24
14
votes
5 answers

Copy file permissions, but not files in Unix

(From : https://stackoverflow.com/questions/15245144/copy-file-permissions-but-not-files, closed because off-topic) I have two copies of the same directory tree. They almost have the same files in both (one version may have a couple extra or missing…
Mariano Paniga
  • 261
  • 2
  • 8
13
votes
1 answer

Windows secure file copy between servers

I have looked a bunch of questions on here somewhat related to what Im trying to do. Maybe windows has just not gotten on the security train yet. Im not trying to use sftp, or WinSCP or SSH Basically what i need to do is copy files from…
Anthony Fornito
  • 9,526
  • 1
  • 33
  • 122
12
votes
3 answers

How can I get docker build to overwrite a file?

It seems that docker build won't overwrite a file it has previously copied. I have a dockerfile with several copy instructions, and files touched in earlier COPY directives don't get overwritten by later ones. A simplified example (although it also…
fields
  • 690
  • 1
  • 10
  • 21
11
votes
7 answers

Parallel File Copy

I have a list of files I need to copy on a Linux system - each file ranges from 10 to 100GB in size. I only want to copy to the local filesystem. Is there a way to do this in parallel - with multiple processes each responsible for copying a file -…
Jon
  • 365
  • 1
  • 4
  • 10
10
votes
7 answers

Quickest way of moving a large number of files?

I've got to move around 320,000 files, 80,000 folders (only 100 Gb) of data. Some files are > 1GB but most are < 1kB. I've had a look at Fastest method of copying files but I'm not sure how useful any of these will be, my problem is not about pure…
Ian G
  • 223
  • 1
  • 2
  • 8
9
votes
2 answers

Which file transfer protocols support server-side copying?

I'm wondering which file transfer protocols available on Linux support server-side copying (and doesn't internally download and reupload files). The simplest use case I have is for copying large files (such as VMs) from one directory to another on…
7
votes
9 answers

How would I grab a text file off of a windows machine from a linux cli?

I am writing a bash script to analyze the mail logs on our network, which is mostly postfix boxes, but would like to include MS Exchange logs in the analysis if possible. Is there any way to copy a file off of a windows machine remotely from the…
Brent
  • 22,219
  • 19
  • 68
  • 102
7
votes
3 answers

copy vmware vmdk files while vm is running

I need to copy some VMs from one datastore to another. I'm running ESX 3.5 U3, VMs are mostly Windows-based. I don't care about data integrity since it's only to test NetApps deduplication on the target destination and the VMs will never be running…
zero_r
  • 2,345
  • 2
  • 15
  • 16
7
votes
3 answers

Linux file copy with ETA?

I'm copying a large amount of files between disks. There's approximately 16 GB of data. I'd like to see progress information, and even an estimated time of completion from the command line. Any advice?
bobby
  • 604
  • 4
  • 13
6
votes
1 answer

How to copy junction points on Windows XP?

I have tried several different tools in order to be able to copy junction points on Windows XP but none of them copied the junction point as junction point. All programs I have tried so far are creating directories instead of junction points. I have…
ceving
  • 499
  • 4
  • 24
5
votes
4 answers

Copying/syncing email from a live server over network

The scenario is as follows: Copying and then syncing from a live mail server via network(only) to another server. The mail server is live meaning that lots of files (mails) are being altered, deleted and created. I have tried rsync but it's…
pl1nk
  • 451
  • 5
  • 22
5
votes
2 answers

Ubuntu SCP copy stalls

I have problem copying files to cloud servers with SCP from my office. When I do scp of 17MB war file it says STALLED and then reconnect and again says stalled like the one below: #scp Desktop/myapp.war user1@204.x.x.x:/tmp/ user1@204.x.x.x's…
user53864
  • 1,653
  • 8
  • 36
  • 66
1
2 3 4 5