2
votes
3answers
91 views

Copy a folder using the command line?

How can a folder be copied using the cmd.exe shell? Using Explorer, this is easy to do. Right-click the folder to copy, drag it to the destination folder, and then select "Copy here." Suppose we ...
1
vote
4answers
63 views

Copying all files from one folder to an other with command line in windows

I have two folders src and dest: src --new.txt --style.css dest --text.txt --install.bat I would like to copy all files inside src into dest. I have tried copy src dest but that destroys ...
1
vote
2answers
372 views

Linux: What is the best way to copy from a damaged HD, only the files that can be completely read?

I am copying from a damaged HDD (not SDD) where about 15% files would cause I/O error. I only want the rest of the 85% complete files, and get a list of damanged files. How to do that? cp stops on ...
0
votes
1answer
439 views

Script to move files created before a certain date to another network location

Ok, this is a simple question I am sure but I'm a novice when it comes to batch scripting and programming so I hope I can find the answers I seek here. Machine Specifications OS - Windows Server ...
3
votes
1answer
1k views

100% reliable directory copy on Windows systems (NTFS)

Is there a directory copying method for NTFS that can copy a directory 100% accurately, every time, with every single file, sub-directory, permission, attribute, and symbolic link / junction intact ...
0
votes
1answer
889 views

Advanced merge directory tree with cp in Linux

I need to: Copy all of a tree's folders (with all files, including hidden) under /sourcefolder/* preserving user privileges to /destfolder/ If there is a conflict with a file (a file with the same ...
2
votes
2answers
335 views

Copy all files from a directory tree into one directory

I'm running on Windows but have Cygwin so Windows or simple Linux versions are both OK. My camera-phone stores images in a directory tree based on date, but still appears to name each file uniquely. ...
2
votes
2answers
163 views

cp copying more than what is asked

I go with the following in bash cp -r "/wordpress/3.0.1/" "/mySite/" and the result is /mySite/3.0.1/ but I don't want nor understand why the 3.0.1/ appears in the target destination. What am I ...
0
votes
1answer
4k views

merging all files into one folder from different folders

I want my files to be copied in one folder, the files came from different folder but in the same location. I run this code in CMD but it copies the folder into new directory. xcopy "D:\NBS ...