Questions tagged [copy]

Duplicating a thing to make two similar things.

252 questions
0
votes
2 answers

Copying Windows to a second drive and booting via grub?

Here is my situation: I have a netbook with an 8gb SSD as its first drive and a 32gb drive as its secondary drive. I was hoping to install windows xp on a 20gb partition and then share the remaining 8gb drive and 12gb partition from drive2 for my…
Gegtik
  • 188
  • 5
0
votes
5 answers

search files based on text file containing list of files

I have a text file containing file names only (it does not contain their paths). I need to find these files which may lie in any of the subfolders and then copy or move them to other location. To find the files I have tried cat 1.txt | xargs find…
Prasad
  • 1
0
votes
1 answer

How to copy only a specific amount of file?

I have a directory with almost 100,000 files inside. I want to copy 20,000 of them to another directory. Is it possible to do this with the cp command or is there any other way?
Willy
  • 225
  • 1
  • 5
  • 9
0
votes
3 answers

copy and rename files

Here are my access logs those I want to backup. /var/log/httpd/access_log /var/log/httpd/access_log.1 /var/log/httpd/access_log.2 /var/log/httpd/access_log.3 ... I want to copy all these files but with different name: The following does work as…
shantanuo
  • 3,579
  • 8
  • 49
  • 66
0
votes
2 answers

Copy data to a directory

I use the following command to copy data and it is working as expected. cp -pr --reply=yes /db-nfs/mysql3/* /db-nfs/mysql5/ 1) Is there a better way? 2) I want to copy the same data to /db-nfs/mysql7 as well. Is it possible in single command?
shantanuo
  • 3,579
  • 8
  • 49
  • 66
0
votes
1 answer

Windows Server hard disk writes slow down after about one minute

I'm copying a 130 GB SQL Server backup to my Windows 2008 server, and to start with I get write speeds around 80 GB/sec, which is about what I'd expect. However, after the initial burst about a minute into the copy, the disk write speed drops…
cxfx
  • 135
  • 1
  • 6
0
votes
1 answer

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 select and middle click to paste. but in my case i…
Idlecool
  • 234
  • 3
  • 9
0
votes
2 answers

copy files created in one folder to multiple other folders on linux

I'm looking for a way to copy photos that are uploaded to one folder to many other folders and visa versa. Example: a photo is uploaded to folder 1, it is then copied to folders 2-5. And if a photo is uploaded to folder 2 it is copied to folders 1…
Keith
  • 1
0
votes
1 answer

how i can send and get file by using sftp?

how i can send and get file by using sftp ????
Mohammad AL-Rawabdeh
  • 1,612
  • 12
  • 33
  • 54
0
votes
2 answers

sftp remotly copy in bash file "unix"?

how i can write bash file to copy files from unix box to windows "remotly" box by sftp command ???
Mohammad AL-Rawabdeh
  • 1,612
  • 12
  • 33
  • 54
0
votes
2 answers

how i can make batch file in windows read the output of somthing from unix bash file?

i want to make incremntal backup for repository by the following command :- svnadmin dump myrepos --revision 1001:2000 --incremental > dumpfile2 but i want to copy the output on windows box as following :- svnadmin dump myrepos --revision 1001:2000…
Mohammad AL-Rawabdeh
  • 1,612
  • 12
  • 33
  • 54
0
votes
3 answers

SUDO permissions, file copy/chmod question?

So, I'm logged in as sudo, and seeing this... why? $ cd /var/www/drupal-6.19/sites/default $ ls default.settings.php $ sudo -v [sudo] password for sudo_username: $ cp default.settings.php settings.php cp: cannot create regular file `settings.php':…
blunders
  • 813
  • 7
  • 14
  • 30
0
votes
1 answer

FTP-like folder with mass copy protection

This is something I'm trying to find a solution to for a couple of weeks now. I have a folder on my server which I'd like to share with my partners overseas but I have a very specific demands from it -all partners should have access to view the main…
Joe
  • 115
  • 1
  • 3
0
votes
3 answers

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 can't get this to work correctly: net use z:…
0
votes
1 answer

Tool for Copying windows shared folder files on unix into Unix

I am on a unix box with Sun OS 5.0. Now I have a shared folder on a Windows server on my LAN. I have some files on Windows to be copied into my unix by running a script on unix itself. So windows box will not push any thing on its own and only unix…
Enjoy coding
  • 101
  • 3