The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
47 views

What is the most efficient way to transfer files from AWS S3 to S3?

I have a large number of files stored in an AWS S3 bucket. I need to get those files to another S3 bucket owned by another user and in a different region. The files are stored in different locations ...
11
votes
6answers
20k views

Recursively copying hidden files - Linux

Is there an easy way to recursively copy all hidden files in a directory to another directory? I would like to back up just all the settings files in a home directory, not the normal files. I tried: ...
4
votes
3answers
4k views

How to fetch multiple files from remote machine to local with Ansible

I would like to copy files from remote directory to local directory with Ansible but fetch module allows me to copy only one file. I have many servers from which I need files (same directory each ...
10
votes
5answers
45k views

Move files to another directory which are older than a date

I am looking for a solution to move files that are year older from today. My log partition is getting full, but I can not remove them. They are needed for a long long time. Anyway one solution I came ...
1
vote
0answers
15 views

Can't import using COPY in cassandra [protocol error]

I am trying to import 209GB csv file into cassandra. But, I am getting below error, ErrorMessage code=000a [Protocol error] message="Cannot decode string as UTF8: '...
0
votes
0answers
27 views

Windows Server: file system limitation

We are developing an app for tablet which uploads and saves photos taken by the user. The problem we are suddenly meeting is that photos are not saved anymore in our directory in our Windows server ...
0
votes
0answers
20 views

Having trouble figureing out how copy_from_user works

I'm currently trying to create a system call in C for a custom linux kernel. I'm using the copy_from_user to copy user level data to a local kernel variable, but I always seem to getting the EFAULT ...
0
votes
3answers
44 views

Backing up MySQL MyISAM databases by copying the physical folders

I have a Windows Server 2008 R2 machine and on it I have 2 MySQL MyISAM databases. These databases are quite large as they are over 20GB in combined size. I update these databases once a week. (I ...
2
votes
1answer
79 views

Securely copy file from one Salt minion to another

How do I use Salt to securely copy a sensitive file (a cryptographic key) from one specific minion to another specific minion? I don't want any other minion to be able to read the file. Salt Mine? ...
1
vote
1answer
22 views

Log backup clashes with log rotation

On my servers I have log rotation and a backup script which, besides all, backs up the entire log directory. For log rotation I use logroatate on Linux and newsyslog is used on BSD. For log backup I ...
1
vote
0answers
15 views

Is it possible to run the Cisco NX-OS 6.x copy command without the prompt to select a VRF?

I am currently working with a network scanning tool that logs into Cisco routers and runs commands on those routers. The problem I'm encountering has to do with what the copy command expects. The copy ...
12
votes
2answers
20k views

Turning off cp (copy) command's interactive mode (cp : overwrite ?)

Does anyone know how I would turn off the interactive mode when using cp? I am trying to copy a directory recursively into another and for each file that is getting overwritten I have to answer 'y'. ...
0
votes
2answers
273 views

Backup NAS to another NAS?

is there a way to backup / transfer a NAS (it's like a big harddrive with some access to a webinterface, but closed linux etc.... only two ethernet ports) to another one? or is the only way to connect ...
0
votes
2answers
53 views

Inotify/iwatch cannot see when more files created at the same time

I would need a script that can check files when they are getting uploaded/created on the server. I wrote the script that checks, but I would like to make it run when a create event happens. I tried ...
38
votes
7answers
39k 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
2answers
213 views

VMWare NIC Teaming - How to gain more than 1Gbit/s copy speed between two VMs?

I have a question about VMware and NIC Teaming. Here is my easy test scenario. I have two VMs. VM1 and VM2. I want to copy 1 big file from VM1 to VM2 because I want to see that I can gain more copy ...
0
votes
1answer
28 views

Backup old disk to external disk (new)

One of the 2 x 500GB drives on server is crashed can read but not write the data, which both are on Hardware RAID 0. So I connected an external 1TB new drive to backup the data and replace those 2 x ...
7
votes
6answers
8k 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 ...
14
votes
7answers
94k views

What is the windows command line command to copy files?

What is the windows command prompt command to copy files? I need to move a file from location A to location B. Also if the folder for location B doesn't' exists I want to have it created. I need ...
0
votes
1answer
53 views

Find the latest modified *.csv file and copy it into a different folder

My goal is to copy the latest file (based on modified date) in Windows to a different folder, and then rename the file to something different. My last line that is commented out was just a test to ...
0
votes
1answer
144 views

Copy multiple files from different folders to 1 folder

i'm looking for a sollution to copy multiple files from different folders to 1 folder. What I have is that I need to copy files from c:\Customers\folderA\folderB\files copy to e:\FolderB\files The ...
16
votes
5answers
27k views

How to let 'cp' command don't fire an error when source file does not exist?

I'm using Mac OS X. I'm trying to copying some files with cp command for a build script like this. cp ./src/*/*.h ./aaa But this command fires an error if there is no .h file in ./src directory. ...
0
votes
1answer
740 views

Robocopy Overwite IDENTICAL files but Rename Similar Files

Run-down 1: We need to copy files from one folder into another folder - Folder A -> Folder B (while preserving subfolder structure) 2: Some of the files in Folder A are IDENTICAL to files in ...
2
votes
1answer
2k views

Long 'pause' after copying large files on windows 2008

I have a mystery regarding pauses after file copies on windows server 2088 (and other releases) When copying large files, like vhds, to locally attached USB disks I often see a long pause after the ...
9
votes
4answers
2k views

Linux to Linux, 10 TB transfer?

I've looked at all the previous similar questions, but the answers seemed to be all over the place and no one was moving a lot of data (100 GB is different from 10 TB). I've got about 10&...
0
votes
1answer
192 views

Migrating bareos storage to another

We have a host A with bareos SD and the storage "backups". We want to migrate the data from host A to another storage (host B) temporarily. We have to reinstall the host A for performance reasons. ...
10
votes
4answers
23k views

cp command prompts on overwrite even with -f

I am trying to copy all newer jpgs from one folder to another using the following command cp -u --force /home/oldfolder/*.jpg /home/newfolder/ and I get the following promt: cp: overwrite `/home/...
1
vote
1answer
160 views

NetApp - Copy volume data to LUN on same filer

I'm trying to copy a volume /vol/Archive_chi to a LUN (LUN volume = /vol/ArchiveLUN_chi ; LUN = ArchiveLUN ; LUN PATH = /vol/ArchiveLUN_chi/ArchiveLUN). I tried ndmpcopy /vol/Archive_chi /vol/...
3
votes
7answers
40k views

Slow network file copy on Windows 7

I wrote a program that uses xcopy to transfer files (usually between 1KB and 2MB) over our intranet. Usually, I am copying files from my host machine (Windows 7 x64) to a VMWare virtual machine ...
3
votes
5answers
838 views

What is the most efficient way to push out/publish large sets files over a network?

Here's my scenario: We have a need to push out a set of files (a 'workspace') from a source server to multiple destination servers. The files are kept under version control (SVN) so the first step is ...
3
votes
1answer
1k views

What is fastest way to copy a sparse file? What method results in the smallest file?

BACKGROUND: I'm copying a sparse qcow2 VM image that is 200GB in size, but has 16GB of allocated blocks. I've tried various methods to copy this sparse file within the same server and have some ...
3
votes
1answer
8k views

Copying files from local server to remote server using powershell

Apologies if this has already answered directly or indirectly in SF. My requirement will be as follows: Move a deployment folder that has got files and subdirectories to a remote sever. Pass ...
0
votes
0answers
913 views

Active Directory Copy User and his password on another domain (and forest)

Is there a way (PowerShell would be nice) to copy a user (I need sAMAccountName) and his password, from one domainA (forestA) to domainB (forestB). All Active Directory servers are on LAN and this is ...
4
votes
4answers
4k 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.....
0
votes
1answer
110 views

Apache: Copy all mp3 files from subfolders into another folder [closed]

I have a files folder with many subfolders (MediaWiki). Some of these contain mp3 files. I want them all copied into another folder (without subfolders). How could I do that? Apache 2, Ubuntu 12
5
votes
8answers
9k views

How do I copy a SQL Server 2005 Database?

In my environment I need to copy a database from one server to another. Usually a QA machine to my local box. I do not have access to QA machine. I can connect to the database, but not RDP into the ...
3
votes
2answers
1k 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
votes
1answer
80 views

Bash shell copy files on the hidden directory [closed]

Need help with Unix script. how do you use /bin/cp to copy files from /somepath/somedir/somewhere/.temp_folder to /somepath/somedir/somewhere/ my line /bin/cp -r somepath/somedir/somewhere/.[!.]* ...
0
votes
2answers
27 views

used mv file.sql /folder instead of mv file.sql folder/

Hello I made the mistake of using mv file.sql /destinationfolder instead of mv file.sql destinationfolder/- using su root. Now I can't find my sql file. is there a way to find it/recover it?
0
votes
1answer
920 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 ...
-2
votes
1answer
138 views

Can I Copy a File Without hitting the RAM?

I suspect that I have a bad stick of RAM in a Linux development server. I'm trying to copy an 80Gb file off of the server to an external hard drive. CRC of the copied file does not match that of the ...
0
votes
3answers
882 views

Copy a file to multiple windows machines

How can one copy a file, from his windows computer, to a cluster of multiple windows machine, with one command? I thought about using psexec, but that also tries to execute the file...
5
votes
14answers
6k views

How do you copy huge (millions) directory trees in Windows?

I have a NTFS partition that has a folder that holds over 5 million directories. Each directory contains more directories and then files. I am moving to SSD and I need to copy all these data over to ...
0
votes
3answers
3k 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
1answer
167 views

Is file copying limited by free space on C drive?

I have some Windows Server 2003 and 2008 boxes that have files I need to copy that are in the range of 20 GB to 80 GB ranges. The 20 GB files transfer without a problem from one server to another ...
0
votes
2answers
609 views

Need to copy 100 TB of data from Dell EQL NAS to another Dell NAS, what is the best and fastest method?

I have a Dell Equallogic NAS group, capacity 500 TB. Need to move off 100 TB out of it to another similar NAS group. Storage arrays are PS6500E (5 of them in one group) and NAS heads are FS7500. ...
18
votes
7answers
12k views

Copy permissions to identical tree on linux / unix

i have a tree of files with correct permission. then i have a (filewise) identical tree (with different file contents tough) with wrong permissions. how can i transfer the permissions layout from ...
0
votes
1answer
1k views

Why does xcopy fail when there is obviously enough space?

I have a 2TB hard drive "D" containing 732GB of data on a 2TB NTFS partition that I want to copy (absolutely everything on the drive) to another drive "F" with 981GB of space (its freshly formatted (...
0
votes
1answer
181 views

LVM - Moving data between Logical Volumes within the same Physical Volume

I will have two logical volumes that exist within one physical volume (RedHat Linux LVM). I will also be moving a lot of data between these LVs. My question is: Does the data get moved on the actual ...
0
votes
2answers
13k views

How to run multiple commands with psexec? [duplicate]

I need to run a command to uninstall forefront on some of our workstations and am having a bit of trouble formatting the command. Here's what needs to happen (in multiple commands) xcopy \\...