Copy Files

  • Thread starter Thread starter Guest
  • Start date Start date
Thomas G. Marshall said:
Detlev Dreyer said:
Oz said:
Please can anyone tell me if there is an option when copying a lot of
files
to say NO TO ALL.

Nope. This doesn't make any sense and "a lot of files" is not a
criteria
being available as an option.

HI,
Sorry I tried to make my message as short as possible and made it too
short... what I meant to say is... When copying a folder to another
folder
with the same name and most of the files are identical it says it will
replace the 1's with the same name and do I still wish to copy or move
the
folder and files.. there are 4 option tabs [yes] [yes to all] [no] and
[cancel]... is there a way I can get an option that says [no to
all]..... as
I only want to copy the new files within this folder to a storage drive
with
the same folder and files.
Aploogies for not explaining myself properly...Can you help

Neither the Windows Explorer nor the old File Manager (Winfile.exe) have
that option.

Not true. NICE---> Kelly's response is correct: Shift-Click on No will
make it an effective "No to All". I cannot find this documented anywhere
though, but I get lost when searching within microsoft.com.

....or in this thread, it was "Bob I" who said it...

This seems like a bit of a fundamental ability that so many windows folk did
not know of. I have to wonder what other abilities does explorer have that
folks don't know about...
 
Thomas G. Marshall said:
Sorry I tried to make my message as short as possible and made it too
short... what I meant to say is... When copying a folder to another folder
with the same name and most of the files are identical it says it will
replace the 1's with the same name and do I still wish to copy or move the
folder and files.. there are 4 option tabs [yes] [yes to all] [no] and
[cancel]... is there a way I can get an option that says [no to all]..... as
I only want to copy the new files within this folder to a storage drive with
the same folder and files.
Aploogies for not explaining myself properly...Can you help

Neither the Windows Explorer nor the old File Manager (Winfile.exe) have
that option.

Not true. NICE---> Kelly's response is correct:

There is no response from Kelly in this thread.
Shift-Click on No will make it an effective "No to All".

This is an effective "No to All" when selecting files only. Excerpt from
the message that I was replying to:

| When copying a folder to another folder with the same name and most of
| the files are identical it says it will replace the 1's with the same name

Shift-Click on "No" does not work that way with folders.
I cannot find this documented anywhere though, but I get lost when
searching within microsoft.com.

That tip was widely spread by computer magazines. "Just Say No to All"
http://pcworld.about.com/magazine/2106p154id110334.htm
 
I found this at: http://www.dostips.com/DtTipsCopy.php
"3. Copy new files only"

for /f %%a in ('xcopy "%source%" "%destination%" /L /Y') do (
if not exist "%destination%.\%%~nxa" xcopy "%%a" "%destination%" /Y
)

Description: XCOPY’s /L option will not perform the actual copy but
will list the files that would be copied without the /L option. The
resulting file list can be used to perform further checks before the
actual copy. In this example a FOR command parses the resulting file
list and runs an additional if not exist check in order to make sure
that no file gets overwritten.

source can be a file mask e.g.: *.*, my*.*, my*.log, directory\*.*

destination can be a directory e.g.: ., directory

Might this do what you want?


Thomas G. Marshall
VanguardLH said:
in message
Hi
Please can anyone tell me if there is an option when copying a lot of
files
to say NO TO ALL. Any advice as always will be much appreciated
Thankyou
Mark


Use the [x]copy command from within a DOS shell. Run "[x]copy /?" to see
the options, like the /Y switch.

I have the same need as the OP but for large numbers of files, and large-ish
data size (multiple gigs that I'm transferring over the network).

Not one of those xcopy options (that I can see) are appropriate.

/Y - No, that does the opposite of what is needed
/-Y - No, that only offers (Yes/No/All) and no "NoToAll" option.

Cygwin's (think unix) cp command can do it, but I'll have to get clever with
xargs because the number of files exceeds the number of argumentes
allowable.
 
Detlev Dreyer said:
"Thomas G. Marshall"
Sorry I tried to make my message as short as possible and made it too
short... what I meant to say is... When copying a folder to another
folder
with the same name and most of the files are identical it says it will
replace the 1's with the same name and do I still wish to copy or move
the
folder and files.. there are 4 option tabs [yes] [yes to all] [no] and
[cancel]... is there a way I can get an option that says [no to
all]..... as
I only want to copy the new files within this folder to a storage drive
with
the same folder and files.
Aploogies for not explaining myself properly...Can you help

Neither the Windows Explorer nor the old File Manager (Winfile.exe) have
that option.

Not true. NICE---> Kelly's response is correct:

There is no response from Kelly in this thread.

Right, it was another thread. I correct that with a followup post.
This is an effective "No to All" when selecting files only. Excerpt from
the message that I was replying to:

| When copying a folder to another folder with the same name and most of
| the files are identical it says it will replace the 1's with the same
name

Shift-Click on "No" does not work that way with folders.

Fair enough. Thanks!

....[snip]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top