Questions about copying in the context of file managemenent and backing up.

learn more… | top users | synonyms (1)

51
votes
6answers
73k views

How to copy symbolic links?

I have directory that contains some symbolic links: user@host:include$ find .. -type l -ls 4737414 0 lrwxrwxrwx 1 user group 13 Dec 9 13:47 ../k0607-lsi6/camac -> ../../include 4737415 ...
40
votes
11answers
6k views

Windows XP: Can I paste plain text by default?

I regularly copy and paste text between spreadsheets, emails, browser windows, etc. I can't think of a single time when I've wanted to keep the formatting from the source text. I already know about ...
29
votes
3answers
24k views

How can I recursively copy files by file extension, preserving directory structure?

At the Linux command line, I'd like to copy a (very large) set of .txt files from one directory (and its subdirectories) to another. I need the directory structure to stay intact, and I need to ...
27
votes
7answers
77k views

PuTTY how to select text and copy text using keyboard ONLY

Is there any way of selecting a text with keyboard the way I do it normally using Shift+arrows.
21
votes
7answers
55k views

Copy directory contents using 'cp' command

How do you copy all the contents of one directory into another? For example: $ cd /home/newuser $ cp -a /backup/olduser/* . The problem with the above is that the globing pattern '*' matches the ...
19
votes
2answers
18k views

Linux equivalent to robocopy?

It's kind of funny, there are a lot of ways in which Linux command line tools are vastly superior to Windows ones, but one thing I have not found an equivalent to is robocopy. Robocopy is way more ...
19
votes
2answers
8k views

How to easily port VirtualBox machines?

I have used VMware for a long time. VMware saves all information for one machine in one diretory. This means it is easy to zip and copy. Now I switched to VirtualBox. VirtualBox seems to save the ...
18
votes
7answers
277k views

How can I copy a DVD to another DVD using a single DVD drive?

I need to copy a DVD to another DVD, but I have only a single DVD drive. How can I accomplish this? I tried copying files to the desktop and then to another DVD. It didn't work out.
17
votes
15answers
7k views

Windows File Copy Dialog: Why is the Estimation So… BAD?

xkcd I know that the Windows copy dialog (in XP) stores the copy in memory first, and is still copying after the dialog closes, so the time is off, but why is the estimation of the time it will ...
15
votes
9answers
6k views

Intelligent file copy/move software?

Is there any intelligent (and-well integrated in the system) replacement for file copy/move ? By intelligent, I mean : on conflict, do not prompt the user while stopping the copy but prompt and, in ...
15
votes
1answer
252 views

limit of 21842 files in a directory?

Copying files using Fedora 16 from EXT2 to a NTFS 2TB drive. Discovered that when recursively copying directories of many files, copying stops at file 21842 in each directory... then cp -r moves on ...
14
votes
10answers
50k views

How can I automatically copy files to a USB drive when I connect it to my computer?

I am looking for a solution for copying all the files from a specific directory on the hard drive, to a specific directory on a USB memory device, once this device is connected. I have a program that ...
13
votes
7answers
8k views

Parallel file copy from single source to multiple targets?

I have a several large files on optical media I would like to copy to multiple targets - in this case I have two hard drives attached to the same computer. Is there a utility that can function like: ...
11
votes
9answers
17k views

Is there a queue copy program available for windows (7)?

When copying a lot of files all from different locations to the same location, using windows explorer, windows always creates multiple copy processes, slowing everything down. How can I queue copy ...
11
votes
11answers
38k views

How to preserve file attributes when one copies files in Windows?

On Linux, we can simply do: cp -pr directory How to do that in Windows? Can it be done in Windows Explorer? Any GUI tool suggestions? It would be the best if I can keep the NTFS permissions and ...
11
votes
4answers
4k views

Using NTFS hard links to combine full/differential backups

Short: Is it possible to (robo)copy a directory tree using hard links instead of physical copy? I want to make a daily backup of my data files, every day in it's own directory. Now most files don't ...
10
votes
5answers
21k views

How to skip “Calculating” time when copying files using Windows explorer?

When copying hundreds of small files/folders on Windows, the calculating phase of Windows often takes a really long time before anything starts actually being copied. Is there a setting to tell ...
10
votes
6answers
9k views

How do I queue multiple files for copying on a Mac?

When I copy multiple files on a Mac, the system tries to copy them all at the same time. The problem is two-fold. First of all, when you select multiple files and copy them, they all go into one ...
10
votes
1answer
24k views

How to prevent long file name error copying from an external drive?

I have an external hard drive with many files (800 GB). I want to copy the entire contents of the external hard drive to my local drive. get many errors about long file name or long file path. ...
10
votes
1answer
2k views

Why does cancelling a copy-operation take (long) time?

Scenario: I'm copying a couple of large files from a DVD onto my desktop (Windows 7 Pro, in case that matters). After a while I realize that it is going to take too long time, and I press "cancel". ...
9
votes
4answers
7k views

Why is my file copying slowly?

I am trying to duplicate a folder (around 1GB) in the same directory and the copy rate is quite slow (getting around 600kbps). I can download large files from the Internet faster than that (2/3 ...
9
votes
4answers
30k views

Tool to copy files of HDD with bad sectors

I have an external HDD that is starting to fail, it has some bad sectors. It's a 1TB fujitsu siemens case with a western digital HDD inside. Eventually I will backup the whole drive with some ...
9
votes
6answers
544 views

How can I duplicate my Linux environment if I am migrating to different hardware?

I currently have packages, modules, settings, etc. for Eclipse, MySQL, Python, Firefox, etc. set up on Kubuntu. I have also optimally configured Kubuntu for my needs. I would like to duplicate my ...
9
votes
2answers
2k views

Any option to change Windows XP default Copy Here naming from “Copy of {name}.{ext}” to “{name}.{ext}.copy”

Is there an option or tool that will allow me to change the default naming convention for files copied into the same directory in Windows (XP) and above. e.g. from: Copy of {name}.{ext} to: ...
9
votes
7answers
13k views

Why does Mac OS X sometimes complain that a copy failed because a file is in use?

Recently I've been copying files from DVDs to network storage on my Mac running Leopard 10.5.7. I'm just dragging and dropping in Finder to perform the copy. Occasionally the copy will fail with a ...
8
votes
5answers
38k views

Copying files with SSH

I am trying to copy a file from my other computer, to another computer. (both running Ubuntu 9.10) So say: I've ssh'ed into the other computer; i 'cd' to the directory; and i entered cp File.zip ...
8
votes
5answers
6k views

Copy folder structure on Windows

I want to replicate the folder structure from a location in another location. Also, I want only the structure which is one level deep to be replicated. Is there a way to do it? I'm running Windows 7 ...
8
votes
2answers
8k views

How do I copy a list of folders recursively, ignoring errors?

I want to copy a bunch of folders recursively. However, I don't want one error preventing the copy from finishing. Is there any way to do a recursive copy(cp -R), ignoring (but logging) all errors ...
8
votes
2answers
19k views

Why does my flash drive speed slow down when copying?

After a few minutes of copying, it just gets slower and slower. Why? e.g. It starts with 20 MByte/sec, and when it finishes with it, it's @10 MByte/s. Various files, big, small, etc. UPDATE: ...
7
votes
3answers
12k views

How to copy a file in unix without altering its last modified time?

If I copy some file from some place to another using cp, the timestamp on the copied file is set to the time of the copy. Is there some way to avoid this? I need to copy files without altering their ...
7
votes
3answers
28k views

Copy Folders from one Unix server to another?

I would like to copy a folder from one Unix server to another Unix server. Can anyone tell me if there is a method or command to to achieve this?
7
votes
1answer
2k views

Linux: What is the best way to copy from a damaged HD?

I get I/O errors from my storage HD when i try to copy files. These are large raw video files, so I can tolerate errors. cp stops on the first read error and scp/rsync complains and deletes the copy. ...
7
votes
3answers
8k views

Copy file in GNU/Linux with progress bar and rate limiting

Is there any good tool in GNU/Linux that copy files like cp, but also shows progress and limits speed (and changes limit without interruption) like pv? Prototype: find source_directory | cpio -H ...
6
votes
4answers
17k views

What's a fast way to copy a lot of files from an internal hard-drive to external (USB) storage?

I have a large amount of data - about 500 GB - on the internal hard drive of a desktop PC. This includes music, videos, PDFs... you name it. I want to copy everything to an external USB hard drive ...
6
votes
3answers
4k views

How do you create a working Hard Link in OSX?

Ok, this has me banging my head. In OS X, to create a hard link, in a terminal window, you're supposed to be able to just type this... ln a.txt b.txt ...and this should create a hard link from ...
6
votes
2answers
8k views

How to copy a partition in OSX?

Is there some easy way to copy my boot leopard partition to another internal harddisk?
6
votes
3answers
24k views

Copy all files in subfolders to single folder on XP

How do I copy all the files in a folder and all of the files in its subfolders to a single folder on XP?
6
votes
3answers
11k views

Copy a file to a new directory path in DOS

How can I copy a file using DOS commands into a directory structure that may not yet exist? I need to be able to force the creation of the directory path to the target file location if that location ...
6
votes
4answers
3k views

tmux copy mode - select text block

I'm using tmux with vi keys, and copy/paste works fine as long as you're selecting one line of text, or if you have only one window. When I want to select a block of text (multiple lines, but not full ...
6
votes
1answer
2k views

How can I copy binary data in Windows (preferably with Notepad++)?

I want to duplicate some binary data (not in code, but by hand). The normal Ctrl+C doesn't work in my editor (Notepad++), it copies data only up to the first NUL char. Is there any workaround?
6
votes
3answers
1k views

FTP - how to upload multiple files to FTP from linux server?

I have for example database backups in my linux server and I would like to write a script to upload it to remote FTP. I tried put command, but it can only transfer one file at a time. Then tried mput ...
6
votes
4answers
6k views

How can I copy files and only overwrite if filesize differs?

What I'm looking for is something that seamlessly works within the windows GUI, not a command-line utility like robocopy. I do lots of small copy/pastes of various files and I'd like windows to just ...
6
votes
1answer
259 views

What do different patterns mean in Windows 8 file copy dialog

When copying or extracting files, Windows 8 shows the chart with the speed of the operation. I noticed several patterns: Randomness, High speed at the beginning, then low speed during the most part ...
6
votes
2answers
2k views

How to change the delimiter when you copy from Excel and paste to notepad

I would like to copy cells from Excel, and paste it to notepad with comma as delimiter, in stead of tab(which it is). Is there any way to do this without doing a replace in Notepad or saving the ...
6
votes
1answer
3k views

How can I disable Windows Vista / 7 Explorer's “auto sort” after file copying?

One of the things that really annoys me in Windows Vista / Windows 7 is the new "auto sort" feature. In Windows XP, whenever you copy a bunch of files to a folder, they are all placed at the end of ...
5
votes
5answers
891 views

Move all sibling folders into one folder

I apologize that this seems like such a dumb question, but I can't afford to screw it up. I have a bunch of folders like so: /users/me/foo/oops1 /users/me/foo/oops2 ...
5
votes
4answers
3k views

What's the best way to perform a parallel copy on Unix?

I routinely have to copy the contents of a folder on a network file system to my local computer. There are many files (1000s) on the remote folder that are all relatively small but due to network ...
5
votes
2answers
2k views

How to paste table from MS Excel to Wolfram Mathematica?

When I am pasting a region from MS Excel, which contains multiple numbers, to Mathematica, I am getting just a long plain sequence of digits, i.e. one integer number in Mathematica. How to have a ...
5
votes
2answers
5k views

The speed of copying a file from a PC to a USB Flash drive started at 30MB/s and decreased to 5.8 MB/s, why?

If I copy a 8GB file from the PC to a USB Flash Drive, the speed will start at around 30 MB/s... maybe 28 MB/s, and then gradually, after a minute, it will go down to 15 MB/s and finally settle down ...
5
votes
4answers
2k views

Using Batch File to Transfer files to flash drive when connected [duplicate]

I have about 1,000 flash drives that I need to move a set of files onto. I'm looking for a way to reduce the amount of time this will take. Thoughts: Attach task to the event of connecting flash ...