Questions tagged [copy]
Duplicating a thing to make two similar things.
254
questions
6
votes
2
answers
3k
views
How to stop users from running CPU heavy programs on a server?
I have a 24 core server, which users connect to through SSH.
It is not meant for them to run CPU heavy programs like MATLAB, R or their own scripts that perform simulations or things like that.
Are ...
3
votes
2
answers
2k
views
Raw copy with sector precision on windows
Is there some program for windows that is able to do what dd does in linux out of the box? I need to copy from a file to a physical disk in raw mode where I need to define offsets for input and output....
1
vote
2
answers
372
views
Which is the most reliable means of copying archives using binary deltas across Windows SMB shares?
I've been searching for the quickest way to copy some WAR and JAR files for huge software deployments between Windows systems. Clearly, multithreaded robocopy or any rsync protocol implementation will ...
0
votes
5
answers
532
views
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 ...
2
votes
1
answer
3k
views
Copying File into hidden folder
I'm attempting to copy a URL link for our companies library system onto all users workstation desktops. I've tried creating a shortcut via Group policy:
User Configuration > Preferences > Windows ...
4
votes
2
answers
6k
views
Why does the .NET Folder.CopyHere Method not allow dialog suppression for .ZIP files when run within a SQL Server Agent PowerShell job step?
I am using PowerShell in a SQL Server Agent job step to automate the extraction of .ZIP file contents to a directory.
Based upon highest-voted answer on this question: How to zip/unzip files in ...
0
votes
1
answer
394
views
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?
2
votes
4
answers
3k
views
fastest way to mirror a directory containing millions of small files
I need to copy a 700G ISCSI mounted folder to a folder on the local hard drive, while maintaining the existing permissions and ownership. The data in the folder consists of about a million mostly ...
1
vote
2
answers
1k
views
ssh tar copying - missing files
On copying directory "home" (from remote machine) to local machine using the following command:
ssh [email protected] 'tar -cz -C /home/*' | tar -zxv
The number of files after the transaction ...
0
votes
3
answers
5k
views
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 ...
1
vote
2
answers
102
views
Batch file problems
I have created a batch file to copy and zip up an entire drive of data on my server. I have selected the D:\ drive to be copied and zipped. However, I have one problem. When I run the batch file, only ...
2
votes
4
answers
7k
views
Copy a SQL Server DB to an external HD
I found a lot of similar questions in the archives, but none quite answered this.
I need to copy a database from one server (SQL Server 2008) to another. Each server is in its own system, and no ...
1
vote
1
answer
890
views
ntfsclone reports "Can't read sector at 470585344, lost data". How can I determine what file that is?
I used ntfsclone from ubuntu to copy a bad windows hard drive to a new one using:
sudo ntfsclone --rescue -f --overwrite /dev/sda1 /dev/sdb1
which produces the following:
WARNING: Can't read sector ...
3
votes
2
answers
562
views
Linux Server user copy
Is there a way to copy user list (with data and passwords) from one server to another.
We have two servers and one of those is new. I need to create same users (that exist in /home/) and set same ...
0
votes
2
answers
85
views
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/...
2
votes
2
answers
434
views
How to effeciently copy large amount of data dvd's to disk? [closed]
Anyone have an ideas on how to copy many dvd's to disk effeciently? Currently we are inserting each disk individually and copying them then un-mounting them, inserting the next disk and so on. Ideally,...
8
votes
4
answers
15k
views
How can I reduce resource usage when copying a large file?
I need to move a large file (corrupt MySQL table ~40GB) onto a seperate server in order to repair it. (When trying to repair on my production server, it quickly killed the server).
In order to do ...
3
votes
3
answers
10k
views
How to make a byte for byte copy of a drive? [duplicate]
Possible Duplicate:
Using DD for disk cloning
What's the easiest and most reliable, risk free, way of making an exact copy of a hard drive?
We have a drive that's been messed up by someone re-...
1
vote
2
answers
9k
views
How to upload (and measure) SFTP in parallel?
I've got a remote server that I can access via SFTP. (Not FTP over SSL. SFTP.)
Periodically, I need to push a few thousand new files to that machine.
How can I:
Upload upload these in parallel?
...
0
votes
1
answer
720
views
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 ...
5
votes
4
answers
3k
views
Windows copy command process info
Is there any specific package for copy command which shows the process of being copied.
In windows while using copy from command line I could not see the process but the blinking cursor and I'm ...
1
vote
4
answers
4k
views
RDP Clipboard File transfer in Windows Server 2008 R2
I don't like the "new" Feature in Windows 2008 R2. We had some Terminal servers used by a lot of users.
If the User enables the Clipboard function in their Remote Desktop Connection, the ...
0
votes
1
answer
549
views
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 ...
0
votes
2
answers
523
views
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 ...
1
vote
4
answers
859
views
Batch change modified/created dates?
I recently bought new hard drives for my NAS. This means that I'm copying all the data off the NAS, upgrading it, and then moving the data back.
I've gotten as far as copying the data from the NAS, ...
8
votes
4
answers
8k
views
Best way to copy large amount of data between partitions
I'm looking to transfer data across 2 lv of an HP-UX server. I have a couple of those transfers to do, some of which are mostly binary (Oracle tablespace...) and some others are more text files (logs.....
1
vote
1
answer
3k
views
cp: command not found
I have an shell file with the following contents:
#!/bin/sh
echo "enter code hereecho "Enter the site name, followed by [ENTER]:"
read site_name
mkdir -p /usr/local/xpay4$site_name
cp /usr/local/...
0
votes
1
answer
135
views
how i can send and get file by using sftp?
how i can send and get file by using sftp ????
0
votes
2
answers
1k
views
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 ???
20
votes
8
answers
21k
views
How do I copy a directory tree but not the files in Linux?
I want to copy about 200 directories & subdirectories from one location to another but I don't want to copy the thousands of files within those directories. I am on Linux.
Note: I don't have ...
0
votes
2
answers
799
views
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 ...
1
vote
2
answers
800
views
Are there alternatives to the "Copy Database" option on MSSQL Server Management Studio?
The reason I ask this is because it doesn't work. I haven't tried taking it offline yet because it is almost always in use. In the worst case I will attempt to take it offline and use "Copy Database" ...
0
votes
3
answers
4k
views
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....
2
votes
3
answers
2k
views
RCP (Remote Copy Protocol) in Ubuntu
On our Cisco-Routers we enabled RCP. Now we want copy all the running-config with our Ubuntu Server but I can't find any suitable command.
I tried copying with rsync and cp but that did not work.
...
0
votes
1
answer
412
views
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
...
134
votes
9
answers
180k
views
How to copy file preserving directory path in Linux?
I have Eclipse projects and ".project" file in them, the directory structure looks like 'myProject/.project'. I want to copy these '.project' files to another directory, but I want the enclosing ...
1
vote
6
answers
2k
views
How do I copy one 500GB file from win2003 to lan/usb without impacting the source server?
I have to copy (periodically) a MSSQL backup file large 500 GB to another pc (windows or linux) within lan.
The normal copy (or xcopy, robocoy, teracopy) command to a network share (or external usb ...
0
votes
3
answers
6k
views
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 ...
2
votes
2
answers
318
views
Recommended Win2k8 Server software to fix my RAID-0 issue
I'm running an Asus P6T V2 Deluxe. It has six SATA ports and supports onboard RAID.
I am using two of those ports for a RAID0 array of 1.5TB Seagate drives using the onboard RAID controller. One of ...
2
votes
1
answer
1k
views
Copying files from OSX to samba, force create mode not working
I have a problem whereby I have set up a samba share with these parrameters:
[Design]
path = "/sec/projects/design"
writeable = yes
browsable = yes
valid users = @design
force group = design
force ...
1
vote
2
answers
2k
views
Bash Script to copy file across network unattended?
I would like to create a script that would execute a series of scp commands. This would pull a specific set of files from another computer on the network to a specific directory on the local machine. ...
1
vote
2
answers
230
views
Copying over 600GB from one windows 2003 ESX VM to another
I need to copy 650GB-isg from one VM to another both server instances are on a VMware ESX cluster and both run Windows server 2003 x86 (on the same LAN). One server is our file server and the other is ...
0
votes
2
answers
2k
views
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 ...
0
votes
1
answer
253
views
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 ...
0
votes
2
answers
887
views
SMB extremely slow when rsync from NAS? [duplicate]
Possible Duplicate:
Speeding up rsync over smb
I started to rsync a mount smb share to a local raid partition yesterday evening. After 12 hours it has copied like 30% of 400 GB... the average ...
0
votes
2
answers
1k
views
Sync files from NAS to local harddrive?
i need a way in ubuntu to sync like 1tb of files from a NAS to a local harddrive, connected by ethernet (directly). any suggestions? it should include a progress bar, that's why 'cp' isn't the right ...
1
vote
2
answers
10k
views
How to copy a LDAP entry and all the subtree on a Linux/openldap server?
I want to duplicate an LDAP subtree : my software uses
ou=software,o=company,c=fr
and I want to have version 2 of the software to use
ou=software_v2,o=company,c=fr
I tried JXplore to copy the ...
8
votes
3
answers
5k
views
rsync and include / exclude. How hard can it be?
I'm trying to recursively copy a directory / file structure from one directory to another, keeping only html files. Should be a simple case of include / exclude shouldn't it?
I just want to print out ...
2
votes
1
answer
307
views
Short Image Copying USB drives on Linux
Is there an application that will do a short image copy of a USB drive to another USB drive? I need something that doesn't run off a live cd
2
votes
1
answer
122
views
Utility that use the bits service to copy files
I would like to know if there is a utility that uses the bits service, to help me transfer some large files over a wacky wan connection. These files happen to be available via a UNC share.
Any ...