DO NOT USE THIS TAG!

learn more… | top users | synonyms (1)

64
votes
7answers
108k 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 ...
26
votes
7answers
66k 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 ...
22
votes
16answers
9k 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 ...
21
votes
6answers
356k 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.
20
votes
2answers
23k 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 ...
17
votes
11answers
60k 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 ...
16
votes
5answers
33k 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 ...
14
votes
13answers
62k 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 ...
13
votes
3answers
23k 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 ...
13
votes
3answers
41k 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?
12
votes
7answers
9k 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: ...
10
votes
3answers
21k views

How to copy a file to a directory in DOS, and create directories if necessary?

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 ...
9
votes
4answers
8k 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
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: ...
8
votes
2answers
9k 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 ...
7
votes
4answers
19k 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 ...
7
votes
2answers
11k views

How to copy a partition in OSX?

Is there some easy way to copy my boot leopard partition to another internal harddisk?
7
votes
2answers
2k views

Copy rectangle selection in firefox

How do I select a rectangular area of text in firefox? My goal is to copy some columns from a html table. I would like to select only the b and c columns (b1,c1,b2,c2 values) for this table: ...
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
2answers
8k views

What is faster cutting or copying a file?

To get large file from one place to another what is faster cutting or copying a file ? What factors can influence the result? I've heard it matters if they are on the same drive and the speed of the ...
6
votes
3answers
26k 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
2answers
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
2answers
1k views

How can I prevent file copy in my usb stick?

I want to prevent other users of copying my files from my usb stick. Is there any method to do that?
5
votes
1answer
4k views

Resume interrupted file copy Mac OS X

My laptop froze up in the middle of a (large) file copy from my desktop (over a simple LAN). The copy operation was about 2/3 complete when this happened and I was just wondering how (if at all) I can ...
5
votes
2answers
4k views

How to copy files while not modifying the file creation times at all?

Just like the cut and paste works: it doesnt modify the file creation times at all. Where to get such program? I dont want to lose the info when my files were createn, and i dont want to cut/paste ...
5
votes
3answers
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
5answers
4k views

Program to Queue Files for Copy/Move/Delete in linux?

I've search the net for Linux's answer to something like Teracopy (Windows)... but could not find anything suitable. The closest things i got are: Krusader. Mentioned in their features but ...
5
votes
1answer
3k views

Can I make scp ask before overwriting an existing file?

Is there a possibility (man scp didn't reveal any) to make scp interactive like cp -i? That is, scp asks, if the target exists, if it may overwrite it? If yes, does it work locally and remote? If ...
5
votes
3answers
274 views

Why do I have only incoming traffic when copying from network source to network destination?

I have a VirtualBox VM that is located on a network share of my NAS. When I copy something from the VM's disk onto another of the NAS' network shares (so the data is visible outside the VM), the ...
4
votes
4answers
18k views

What is your favourite file copy manager/replacement for Windows? [duplicate]

Possible Duplicate: Intelligent file copy/move software ? We're all aware of how bad Windows file copy is. From copies in progress dying if network connectivity is lost, to poorly managed ...
4
votes
6answers
679 views

How can I get the “dir” and “copy” commands to operate on “*.xyz” but not “*.xyz~”?

When I use copy *.txt somefolder\ the system seems to copy all *.txt~ files too, which is not what I want. A similar same effect can be seen with dir: C:\Users\Paul\Documents\Programs\Proffy>dir ...
4
votes
3answers
3k views

Tool to copy files with filter and keep folder hierarchy

Required: Option to filter files (regex, extension...) Option to copy directory hierarchy for each file Works on WinXP and Win7 Prefered: Regular expression for file filtering Right click ...
4
votes
4answers
1k views

Why does it take so long to copy a 900MB vs. 200MB file on windows 7?

If i copy a 213MB file, it copies INSTANTLY - well, within milliseconds If i copy a 936MB file, it takes approx 1min. Both files are located on the Root of my E:\ drive. Why would there be such a ...
4
votes
3answers
662 views

What is the difference between Skip and Don't Copy buttons in Copy File dialog?

This is a silly question. In Windows 7/Vista when a user trying to copy multiple file, it looks like he has five options: Copy and Replace Don't Copy Copy, but keep both files Skip Cancel the ...
4
votes
1answer
1k views

How do I disable the auto-copy-on-select feature of gnome-terminal?

Recently I found the auto-copy on selection feature of gnome-terminal really annoying. However, I tried to look for a way to disable it. As it turns out, there's few documentation for that. I was ...
3
votes
4answers
3k views

Single unix command to correctly transfer a large file?

I am trying to transfer a large (~3GB) file between two unix machines. I can use scp or rsync, but sometimes the transfer is corrupted. (I have to check manually.) I can split the file into pieces ...
3
votes
6answers
554 views

Copy files to a Laptop

I have an urgent requirement to copy files from one laptop to another laptop which are not connected in any way. Is there any way of doing this?
3
votes
4answers
12k views

How do i copy all the pictures on a website?

I want to copy all the pictures on a site, but I don't know how to do it. Could you please tell me? Shall I use a tool?
3
votes
5answers
8k views

Copy directory structure without copying files, on Mac OS X

I'd like to duplicate the directory structure in some directory to another, without copying any actual files. In place of the files, I'd like either a blank file with the same name, or a symlink to ...
3
votes
5answers
1k views

Moving large files between Windows machines

I need to move a large file from one laptop to another. Can I just join the two machines with an ethernet cable and create a shared folder on my desktop or is it more complicated than that? Update ...
3
votes
5answers
16k views

Find document files and copy them to another directory

This is a bit of a basic question but I'm trying to copy all .doc files I find in a directory and copy them to another directory. I know each command: find -name '*.doc' . and: cp filename ...
3
votes
3answers
27k views

Is there a Windows command line tool to copy files to remote computers?

I'm looking for a way to copy files over to/from remote Windows hosts, and need to provide domain user credentials as part of the process, similar to the way psexec does. I know I can use net use to ...
3
votes
2answers
440 views

How to copy a DVD on Mac

Is there any software (preferred free) which allows me to copy a DVD (Disk to Disk copy)? I have installed Burn, but it does not seem to let me do what I need. Thank you.
3
votes
4answers
13k views

Is it possible to copy a set of files, but automatically skip if file already exists?

I know that the copy command has an option to automatically replace a file if it already exists, but I want to know if it is a way to copy the files only if they not already exist (/Y). I do not know ...
3
votes
2answers
1k views

How can I use sed to alter the results of find and pass the results to cp?

In solaris, I'd like to copy all files found by the find command to a slightly different path. The following script basically executes cp for each file found by find. For example: cp ...
3
votes
2answers
1k views

Is there a Firefox shortcut to copy the URL of the current page?

Copying the URL of the current page seems to be an extremely common task, and I can't seem to find one in the official list. Are there any tweaks or add-ons?
3
votes
3answers
2k views

Windows 7 prompts when overwriting a file on copy

This is not an "error" but just a question about convenience. In XP Windows Explorer to overwrite an existing file you were given a simple prompt containing "Yes"/"No". Furthermore, you could use ...
3
votes
1answer
1k views

File copy with filter

How can I copy all files with a certain extension from one location to another? For example, I want to copy all my music files onto my mp3 player, but my music folder on my hard drive contains cover ...
3
votes
4answers
4k views

cp verbose alternative

I want to list all of the files that are being copied by a cp command but the -v switch doesn't seem to exist on the servers here at work. I'm not sure exactly which OS this is. I think it might be ...
3
votes
2answers
3k views

How can I get command prompt to merge my files in name order?

I'm using the copy command in command prompt to merge all the files in a directory, for a number of directories. The problem is, I need to edit the first file in each directory before I merge. This ...