Go Back   Microsoft Operating System Forum > Microsoft Operating System > Windows 2003 Server

Robocopy is great at showing in the output files that were skipped because they were "Extra" (present in the destination only) -- this appears to be the default behavior --


Microsoft OS Forum to Usenet Gateway is a gateway to Microsoft Windows operating system newsgroups. If you use Windows XP, Windows Vista or any other Microsoft Operating System then this is the community for you.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact us.

Once you register you'll stop seeing this message.
Log in

Reply
 
Thread Tools Display Modes
Old 12-01-2008, 02:44 AM   #1
scottedwards2000
Guest
 
Posts: n/a
With Robocopy can I just show files that were skipped due to beingnewer in the destination?

Robocopy is great at showing in the output files that were skipped
because they were "Extra" (present in the destination only) -- this
appears to be the default behavior -- but the only way I seem to be
able to show files that were skipped because they are NEWER in the
destination (they are skipped because I'm using the /xo flag) is the
use the /v (verbose) flag, which shows me ALL skipped files. I don't
need to see all that because I'm using robocopy to move any new files
from a production directory to a backup directory, so of course there
will be many skipped files each time. But, I really want to guard
against the posibility that someone will put a NEW file in the backup
directory by accident instead of the Production directory, so I need
some way to quickly see the files that were skipped due to my use of
the /xo flag. Is there any way? Do I have to combine robocopy with
some text processing commands?
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote


Old 12-01-2008, 05:02 AM   #2
Pegasus \(MVP\)
Guest
 
Posts: n/a
Re: With Robocopy can I just show files that were skipped due to being newer in the destination?


"scottedwards2000" <scottedwards2000@gmail.com> wrote in message
news:292a7016-3095-4c2e-87c2-fcd9499bd617@t26g2000prh.googlegroups.com...
> Robocopy is great at showing in the output files that were skipped
> because they were "Extra" (present in the destination only) -- this
> appears to be the default behavior -- but the only way I seem to be
> able to show files that were skipped because they are NEWER in the
> destination (they are skipped because I'm using the /xo flag) is the
> use the /v (verbose) flag, which shows me ALL skipped files. I don't
> need to see all that because I'm using robocopy to move any new files
> from a production directory to a backup directory, so of course there
> will be many skipped files each time. But, I really want to guard
> against the posibility that someone will put a NEW file in the backup
> directory by accident instead of the Production directory, so I need
> some way to quickly see the files that were skipped due to my use of
> the /xo flag. Is there any way? Do I have to combine robocopy with
> some text processing commands?


Standard redirection stuff:
robocopy d:\temp d:\Mon *.txt /xo /v | find /i "older"


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-22-2008, 01:38 AM   #3
scottedwards2000
Guest
 
Posts: n/a
Re: With Robocopy can I just show files that were skipped due tobeing newer in the destination?

On Dec 1, 3:02*am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> "scottedwards2000" <scottedwards2...@gmail.com> wrote in message
>
> news:292a7016-3095-4c2e-87c2-fcd9499bd617@t26g2000prh.googlegroups.com...
>
> > Robocopy is great at showing in the output files that were skipped
> > because they were "Extra" (present in the destination only) -- this
> > appears to be the default behavior -- but the only way I seem to be
> > able to show files that were skipped because they are NEWER in the
> > destination (they are skipped because I'm using the /xo flag) is the
> > use the /v (verbose) flag, which shows me ALL skipped files. *I don't
> > need to see all that because I'm using robocopy to move any new files
> > from a production directory to a backup directory, so of course there
> > will be many skipped files each time. *But, I really want to guard
> > against the posibility that someone will put a NEW file in the backup
> > directory by accident instead of the Production directory, so I need
> > some way to quickly see the files that were skipped due to my use of
> > the /xo flag. *Is there any way? *Do I have to combine robocopy with
> > some text processing commands?

>
> Standard redirection stuff:
> robocopy d:\temp d:\Mon *.txt /xo /v | find /i "older"


Thanks, Pegasus.
Great suggestion -- I wasn't even aware of that find command. The
only issue is that I wanted a concise log that only listed the
exceptions, and that /v (verbose) flag causes the log to be too long.
So, using your idea, I came up with a 2-3 step solution that allows me
to have the concise log and still check for "older" files. Let me
know if you can think of a better way (although I still think Robocopy
should have as an option to show these "older" files alongside the
"extra" ones without having to use the verbose option).

1. first I run this to actually do the backup and list any Extra
files:

robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
10 /xo /log+:RoboLog.txt /s /np

and look through the log for any "EXTRA" files or directories


2. then run this to check for files not backed-up due to the
destination copy being NEWER:

robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
10 /xo /s /np /v | find /i "older"


3. if you see any output from #2, use the log from this command to
find the specific location of the file(s):

robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
10 /xo /log:RoboLogVerbose.txt /s /np /v
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-22-2008, 03:52 AM   #4
Pegasus \(MVP\)
Guest
 
Posts: n/a
Re: With Robocopy can I just show files that were skipped due to being newer in the destination?


"scottedwards2000" <scottedwards2000@gmail.com> wrote in message
news:9e802dbb-08f8-4e49-87d7-b4f33afd98ae@o4g2000pra.googlegroups.com...
On Dec 1, 3:02 am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> "scottedwards2000" <scottedwards2...@gmail.com> wrote in message
>
> news:292a7016-3095-4c2e-87c2-fcd9499bd617@t26g2000prh.googlegroups.com...
>
> > Robocopy is great at showing in the output files that were skipped
> > because they were "Extra" (present in the destination only) -- this
> > appears to be the default behavior -- but the only way I seem to be
> > able to show files that were skipped because they are NEWER in the
> > destination (they are skipped because I'm using the /xo flag) is the
> > use the /v (verbose) flag, which shows me ALL skipped files. I don't
> > need to see all that because I'm using robocopy to move any new files
> > from a production directory to a backup directory, so of course there
> > will be many skipped files each time. But, I really want to guard
> > against the posibility that someone will put a NEW file in the backup
> > directory by accident instead of the Production directory, so I need
> > some way to quickly see the files that were skipped due to my use of
> > the /xo flag. Is there any way? Do I have to combine robocopy with
> > some text processing commands?

>
> Standard redirection stuff:
> robocopy d:\temp d:\Mon *.txt /xo /v | find /i "older"


Thanks, Pegasus.
Great suggestion -- I wasn't even aware of that find command. The
only issue is that I wanted a concise log that only listed the
exceptions, and that /v (verbose) flag causes the log to be too long.
So, using your idea, I came up with a 2-3 step solution that allows me
to have the concise log and still check for "older" files. Let me
know if you can think of a better way (although I still think Robocopy
should have as an option to show these "older" files alongside the
"extra" ones without having to use the verbose option).

1. first I run this to actually do the backup and list any Extra
files:

robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
10 /xo /log+:RoboLog.txt /s /np

and look through the log for any "EXTRA" files or directories


2. then run this to check for files not backed-up due to the
destination copy being NEWER:

robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
10 /xo /s /np /v | find /i "older"


3. if you see any output from #2, use the log from this command to
find the specific location of the file(s):

robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
10 /xo /log:RoboLogVerbose.txt /s /np /v

==============

I'm not quite with you. You write " I wanted a concise log that
only listed the exceptions", and this is precisely what the command

robocopy d:\temp d:\Mon *.txt /xo /v | find /i "older"

does: It lists the exceptions, nothing more, nothing less.


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-22-2008, 03:35 PM   #5
scottedwards2000
Guest
 
Posts: n/a
Re: With Robocopy can I just show files that were skipped due tobeing newer in the destination?

On Dec 22, 1:52*am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> "scottedwards2000" <scottedwards2...@gmail.com> wrote in message
>
> news:9e802dbb-08f8-4e49-87d7-b4f33afd98ae@o4g2000pra.googlegroups.com...
> On Dec 1, 3:02 am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
>
>
>
>
>
> > "scottedwards2000" <scottedwards2...@gmail.com> wrote in message

>
> >news:292a7016-3095-4c2e-87c2-fcd9499bd617@t26g2000prh.googlegroups.com....

>
> > > Robocopy is great at showing in the output files that were skipped
> > > because they were "Extra" (present in the destination only) -- this
> > > appears to be the default behavior -- but the only way I seem to be
> > > able to show files that were skipped because they are NEWER in the
> > > destination (they are skipped because I'm using the /xo flag) is the
> > > use the /v (verbose) flag, which shows me ALL skipped files. I don't
> > > need to see all that because I'm using robocopy to move any new files
> > > from a production directory to a backup directory, so of course there
> > > will be many skipped files each time. But, I really want to guard
> > > against the posibility that someone will put a NEW file in the backup
> > > directory by accident instead of the Production directory, so I need
> > > some way to quickly see the files that were skipped due to my use of
> > > the /xo flag. Is there any way? Do I have to combine robocopy with
> > > some text processing commands?

>
> > Standard redirection stuff:
> > robocopy d:\temp d:\Mon *.txt /xo /v | find /i "older"

>
> Thanks, Pegasus.
> Great suggestion -- I wasn't even aware of that find command. *The
> only issue is that I wanted a concise log that only listed the
> exceptions, and that /v (verbose) flag causes the log to be too long.
> So, using your idea, I came up with a 2-3 step solution that allows me
> to have the concise log and still check for "older" files. *Let me
> know if you can think of a better way (although I still think Robocopy
> should have as an option to show these "older" files alongside the
> "extra" ones without having to use the verbose option).
>
> 1. first I run this to actually do the backup and list any Extra
> files:
>
> robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
> 10 /xo /log+:RoboLog.txt /s /np
>
> and look through the log for any "EXTRA" files or directories
>
> 2. then run this to check for files not backed-up due to the
> destination copy being NEWER:
>
> robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
> 10 /xo /s /np /v | find /i "older"
>
> 3. if you see any output from #2, use the log from this command to
> find the specific location of the file(s):
>
> robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
> 10 /xo /log:RoboLogVerbose.txt /s /np /v
>
> ==============
>
> I'm not quite with you. You write " I wanted a concise log that
> only listed the exceptions", and this is precisely what the command
>
> robocopy d:\temp d:\Mon *.txt /xo /v | find /i "older"
>
> does: It lists the exceptions, nothing more, nothing less.- Hide quoted text -
>
> - Show quoted text -


Sorry, you are right -- it is just that I also wanted to keep the
format of the log where it lists the files that were copied and the
"Extra" files. What I meant by concise was not listing all of the
files like the verbose option does. But your command was very helpful
- I just have to live with the multiple steps.

Thanks again for your help.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-22-2008, 05:09 PM   #6
Pegasus \(MVP\)
Guest
 
Posts: n/a
Re: With Robocopy can I just show files that were skipped due to being newer in the destination?


"scottedwards2000" <scottedwards2000@gmail.com> wrote in message
news:183099c4-fafd-4194-b7dc-3e65c30b76dd@y1g2000pra.googlegroups.com...
On Dec 22, 1:52 am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> "scottedwards2000" <scottedwards2...@gmail.com> wrote in message
>
> news:9e802dbb-08f8-4e49-87d7-b4f33afd98ae@o4g2000pra.googlegroups.com...
> On Dec 1, 3:02 am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
>
>
>
>
>
> > "scottedwards2000" <scottedwards2...@gmail.com> wrote in message

>
> >news:292a7016-3095-4c2e-87c2-fcd9499bd617@t26g2000prh.googlegroups.com...

>
> > > Robocopy is great at showing in the output files that were skipped
> > > because they were "Extra" (present in the destination only) -- this
> > > appears to be the default behavior -- but the only way I seem to be
> > > able to show files that were skipped because they are NEWER in the
> > > destination (they are skipped because I'm using the /xo flag) is the
> > > use the /v (verbose) flag, which shows me ALL skipped files. I don't
> > > need to see all that because I'm using robocopy to move any new files
> > > from a production directory to a backup directory, so of course there
> > > will be many skipped files each time. But, I really want to guard
> > > against the posibility that someone will put a NEW file in the backup
> > > directory by accident instead of the Production directory, so I need
> > > some way to quickly see the files that were skipped due to my use of
> > > the /xo flag. Is there any way? Do I have to combine robocopy with
> > > some text processing commands?

>
> > Standard redirection stuff:
> > robocopy d:\temp d:\Mon *.txt /xo /v | find /i "older"

>
> Thanks, Pegasus.
> Great suggestion -- I wasn't even aware of that find command. The
> only issue is that I wanted a concise log that only listed the
> exceptions, and that /v (verbose) flag causes the log to be too long.
> So, using your idea, I came up with a 2-3 step solution that allows me
> to have the concise log and still check for "older" files. Let me
> know if you can think of a better way (although I still think Robocopy
> should have as an option to show these "older" files alongside the
> "extra" ones without having to use the verbose option).
>
> 1. first I run this to actually do the backup and list any Extra
> files:
>
> robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
> 10 /xo /log+:RoboLog.txt /s /np
>
> and look through the log for any "EXTRA" files or directories
>
> 2. then run this to check for files not backed-up due to the
> destination copy being NEWER:
>
> robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
> 10 /xo /s /np /v | find /i "older"
>
> 3. if you see any output from #2, use the log from this command to
> find the specific location of the file(s):
>
> robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
> 10 /xo /log:RoboLogVerbose.txt /s /np /v
>
> ==============
>
> I'm not quite with you. You write " I wanted a concise log that
> only listed the exceptions", and this is precisely what the command
>
> robocopy d:\temp d:\Mon *.txt /xo /v | find /i "older"
>
> does: It lists the exceptions, nothing more, nothing less.- Hide quoted
> text -
>
> - Show quoted text -


Sorry, you are right -- it is just that I also wanted to keep the
format of the log where it lists the files that were copied and the
"Extra" files. What I meant by concise was not listing all of the
files like the verbose option does. But your command was very helpful
- I just have to live with the multiple steps.

Thanks again for your help.

=======================

This is called "scope creep" - having one set of specs at first, then
modifying them as time goes by . . .

If your multiple steps do the trick, fine. If they don't then the usual
method would be to massage the log file with a script. If you were to post a
short sample of the verbose report, then a manually edited version of what
you would really like to see then I could tell you if this would be a
trivial exercise or a big effort.


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-24-2008, 07:37 AM   #7
scottedwards2000
Guest
 
Posts: n/a
Re: With Robocopy can I just show files that were skipped due tobeing newer in the destination?

On Dec 22, 3:09*pm, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> "scottedwards2000" <scottedwards2...@gmail.com> wrote in message
>
> news:183099c4-fafd-4194-b7dc-3e65c30b76dd@y1g2000pra.googlegroups.com...
> On Dec 22, 1:52 am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
>
>
>
>
>
> > "scottedwards2000" <scottedwards2...@gmail.com> wrote in message

>
> >news:9e802dbb-08f8-4e49-87d7-b4f33afd98ae@o4g2000pra.googlegroups.com...
> > On Dec 1, 3:02 am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:

>
> > > "scottedwards2000" <scottedwards2...@gmail.com> wrote in message

>
> > >news:292a7016-3095-4c2e-87c2-fcd9499bd617@t26g2000prh.googlegroups.com....

>
> > > > Robocopy is great at showing in the output files that were skipped
> > > > because they were "Extra" (present in the destination only) -- this
> > > > appears to be the default behavior -- but the only way I seem to be
> > > > able to show files that were skipped because they are NEWER in the
> > > > destination (they are skipped because I'm using the /xo flag) is the
> > > > use the /v (verbose) flag, which shows me ALL skipped files. I don't
> > > > need to see all that because I'm using robocopy to move any new files
> > > > from a production directory to a backup directory, so of course there
> > > > will be many skipped files each time. But, I really want to guard
> > > > against the posibility that someone will put a NEW file in the backup
> > > > directory by accident instead of the Production directory, so I need
> > > > some way to quickly see the files that were skipped due to my use of
> > > > the /xo flag. Is there any way? Do I have to combine robocopy with
> > > > some text processing commands?

>
> > > Standard redirection stuff:
> > > robocopy d:\temp d:\Mon *.txt /xo /v | find /i "older"

>
> > Thanks, Pegasus.
> > Great suggestion -- I wasn't even aware of that find command. The
> > only issue is that I wanted a concise log that only listed the
> > exceptions, and that /v (verbose) flag causes the log to be too long.
> > So, using your idea, I came up with a 2-3 step solution that allows me
> > to have the concise log and still check for "older" files. Let me
> > know if you can think of a better way (although I still think Robocopy
> > should have as an option to show these "older" files alongside the
> > "extra" ones without having to use the verbose option).

>
> > 1. first I run this to actually do the backup and list any Extra
> > files:

>
> > robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
> > 10 /xo /log+:RoboLog.txt /s /np

>
> > and look through the log for any "EXTRA" files or directories

>
> > 2. then run this to check for files not backed-up due to the
> > destination copy being NEWER:

>
> > robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
> > 10 /xo /s /np /v | find /i "older"

>
> > 3. if you see any output from #2, use the log from this command to
> > find the specific location of the file(s):

>
> > robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
> > 10 /xo /log:RoboLogVerbose.txt /s /np /v

>
> > ==============

>
> > I'm not quite with you. You write " I wanted a concise log that
> > only listed the exceptions", and this is precisely what the command

>
> > robocopy d:\temp d:\Mon *.txt /xo /v | find /i "older"

>
> > does: It lists the exceptions, nothing more, nothing less.- Hide quoted
> > text -

>
> > - Show quoted text -

>
> Sorry, you are right -- it is just that I also wanted to keep the
> format of the log where it lists the files that were copied and the
> "Extra" files. *What I meant by concise was not listing all of the
> files like the verbose option does. *But your command was very helpful
> - I just have to live with the multiple steps.
>
> Thanks again for your help.
>
> =======================
>
> This is called "scope creep" - having one set of specs at first, then
> modifying them as time goes by . . .
>
> If your multiple steps do the trick, fine. If they don't then the usual
> method would be to massage the log file with a script. If you were to post a
> short sample of the verbose report, then a manually edited version of what
> you would really like to see then I could tell you if this would be a
> trivial exercise or a big effort.- Hide quoted text -
>
> - Show quoted text -


Thanks - below is the output with /v. I simply want to remove all the
lines that have "same" in front of them.


-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows :: Version
XP026
-------------------------------------------------------------------------------

Started : Wed Dec 24 05:23:27 2008

Source : E:\Workspace\CW2008\Production\
Dest : E:\Workspace\CW2008\Backup\

Files : *.*

Options : *.* /V /S /COPYAT /NP /XO /R:10 /W:30

------------------------------------------------------------------------------

0 E:\Workspace\CW2008\Production\
0 E:\Workspace\CW2008\Production\worthington2008\
4 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\
*EXTRA File 1.7 g Copy (3) of CWv2.2.accdb
*EXTRA File 1.6 g Copy of Copy of CWv2.2.accdb
*EXTRA File 1.3 g Pre dailydata Copy of CWv2.2.accdb
same 513.1 m CWv2.2_blank.accdb
Newer 1.6 g Copy (2) of CWv2.2.accdb
Newer 1.6 g Copy of CWv2.2.accdb
Newer 1.6 g CWv2.2.accdb
5 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\BidChanges042508\
same 20.5 m BidChanges_ATTW-YPC-04-25-2008.xls
same 2.0 m BidChanges_ATTW-YPC-04-25-2008_Google.xls
same 2.0 m BidChanges_ATTW-YPC-04-25-2008_Yahoo.xls
same 4.0 m BidChanges_ATTW-
YPC-04-25-2008_YahooandGoogle.xls
same 244 parameters.txt
5 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\BidChanges052308\
same 1.1 m _BidChanges_Google_Formatted_052308.xls
same 527872 _BidChanges_Google_Formatted_052308_ATTE.xls
same 1.1 m _BidChanges_Yahoo_Formatted_053208.xls
same 534528 _BidChanges_Yahoo_Formatted_053208_ATTE.xls
same 244 parameters.txt
3 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\BidChanges062508\
same 1.5 m _BidChanges_Google_Formatted 062508.xls
same 1.5 m _BidChanges_Yahoo_Formatted 062508.xls
same 244 parameters.txt
4 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\BidChanges072308\
same 422179 YPC_BidChanges_Google_national_and_local.csv
same 1.5 m YPC_BidChanges_Google_national_and_local.xls
same 429566 YPC_BidChanges_Yahoo_national_and_local.csv
same 1.5 m YPC_BidChanges_Yahoo_national_and_local.xls
4 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\BidChanges081408\
same 403130 YPC_BidChanges_Google_national_and_local.csv
same 1.5 m YPC_BidChanges_Google_national_and_local.xls
same 406491 YPC_BidChanges_Yahoo_national_and_local.csv
same 1.5 m YPC_BidChanges_Yahoo_national_and_local.xls
5 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\BidChanges082508\
same 85 output_modify_notes.txt
same 408114 YPC_BidChanges_Google_national_and_local.csv
same 1.4 m YPC_BidChanges_Google_national_and_local.xls
same 417661 YPC_BidChanges_Yahoo_national_and_local.csv
same 1.5 m YPC_BidChanges_Yahoo_national_and_local.xls
5 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\BidChanges092908\
same 85 output_modify_notes.txt
same 435049 YPC_BidChanges_Google_Formatted.csv
same 1.5 m YPC_BidChanges_Google_Formatted.xls
same 444731 YPC_BidChanges_Yahoo_Formatted.csv
same 1.6 m YPC_BidChanges_Yahoo_Formatted.xls
5 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\BidChanges102408\
same 86 output_modify_notes.txt
same 362415 YPC_BidChanges_Google_Formatted.csv
same 600951 YPC_BidChanges_Google_Formatted.xlsx
same 383501 YPC_BidChanges_Yahoo_Formatted.csv
same 631537 YPC_BidChanges_Yahoo_Formatted.xlsx
5 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\BidChanges111208\
same 86 output_modify_notes.txt
same 404800
tool_suggested_BidChanges_Google_Formatted.csv
same 734098
tool_suggested_BidChanges_Google_Formatted.xlsx
same 399696
tool_suggested_BidChanges_Yahoo_Formatted.csv
same 723024
tool_suggested_BidChanges_Yahoo_Formatted.xlsx
5 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\BidChanges112408\
same 86 output_modify_notes.txt
same 428921 YPC_BidChanges_Google_Formatted.csv
same 731232 YPC_BidChanges_Google_Formatted.xlsx
same 427152 YPC_BidChanges_Yahoo_Formatted.csv
same 729045 YPC_BidChanges_Yahoo_Formatted.xlsx
4 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\BidChanges121008\
same 448287 YPC_BidChanges_Google_Formatted.csv
same 761426 YPC_BidChanges_Google_Formatted.xlsx
same 449252 YPC_BidChanges_Yahoo_Formatted.csv
same 757546 YPC_BidChanges_Yahoo_Formatted.xlsx
New Dir 4 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\BidChanges122208\
New File 449090 YPC_BidChanges_Google_Formatted.csv
New File 768169 YPC_BidChanges_Google_Formatted.xlsx
New File 448121 YPC_BidChanges_Yahoo_Formatted.csv
New File 762127 YPC_BidChanges_Yahoo_Formatted.xlsx
3 E:\Workspace\CW2008\Production
\worthington2008\BidChangeTool\cw_versions\
same 1.2 g 08082008_done_CWv2.2.accdb
same 271.3 m CWv1.06_Delivered.accdb
same 513.1 m CWv2.1.accdb
0 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\
7 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\10th bid change 09222008\
same 2.2 m Sept_22_Contract.csv
same 2.2 m Sept_22_Contract_corrected.csv
same 1.2 m Sept_22_Monthly_corrected.csv
same 1.2 m Sept_22_Monthly_v1_bad.csv
same 44.4 m YPC_BidChangerData.csv
same 43.5 m YPC_BidChangerData_mysaved.xlsx
same 90.9 m YPC_data_test.accdb
2 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\10th bid change
09222008\bidchanger_output\
same 1.6 m
tool_suggested_BidChanges_Google_Formatted.xls
same 1.6 m
tool_suggested_BidChanges_Yahoo_Formatted.xls
6 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\11th bid change 10222008\
same 2.2 m October_22_Contract.csv
same 1.7 m October_22_Monthly_bad.csv
same 1.3 m October_22_Monthly_corrected.csv
same 83.9 m YPC_BidChangerData.csv
same 84.4 m YPC_BidChangerData2.csv
same 277.2 m YPC_data_test.accdb
2 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\11th bid change
10222008\bidchanger_output\
same 625091
tool_suggested_BidChanges_Google_Formatted.xlsx
same 654816
tool_suggested_BidChanges_Yahoo_Formatted.xlsx
6 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\12th bid change 11102008\
same 99.8 m New Microsoft Office Access 2007
Database.accdb
same 2.8 m Nov_10_Contract.csv
same 2.2 m Nov_10_Contract_Nulls_Removed.csv
same 1.7 m Nov_10_Monthly.csv
same 1.3 m Nov_10_Monthly_Nulls_Removed.csv
same 54.1 m YPC_BidChangerData.csv
2 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\12th bid change
11102008\bidchanger_output\
same 768813
tool_suggested_BidChanges_Google_Formatted.xlsx
same 749685
tool_suggested_BidChanges_Yahoo_Formatted.xlsx
4 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\13th bid change 11242008\
same 57.3 m New Microsoft Office Access 2007
Database.accdb
same 2.2 m Nov_24_Contract.csv
same 1.3 m Nov_24_Monthly.csv
same 34.5 m YPC_BidChangerData.csv
2 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\13th bid change
11242008\bidchanger_output\
same 766465
tool_suggested_BidChanges_Google_Formatted.xlsx
same 758952
tool_suggested_BidChanges_Yahoo_Formatted.xlsx
5 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\14th bid change 12082008\
same 2.1 m Dec_8_Contract.csv
same 1.3 m Dec_8_Monthly.csv
same 40.3 m YPC_BidChangerData_ExportedFromTestDB.csv
same 40.1 m YPC_BidChangerData_FromMarchex.csv
Newer 67.1 m New Microsoft Office Access 2007
Database.accdb
2 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\14th bid change
12082008\bidchanger_output\
same 788318
too_suggested_BidChanges_Yahoo_Formatted.xlsx
same 796161
tool_suggested_BidChanges_Google_Formatted.xlsx
New Dir 6 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\15th bid change 12222008\
New File 2.1 m Dec_19_Contract.csv
New File 1.3 m Dec_19_Monthly.csv
New File 38.5 m New Microsoft Office Access 2007
Database.accdb
New File 27.9 m YPC_BidChangerData 12.19.08.csv
New File 30.5 m YPC_BidChangerData 12.19.08.xlsx
New File 30.8 m
YPC_BidChangerData_12_19_08_ExportedFromTestDB.csv
New Dir 2 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\15th bid change
12222008\bidchanger_output\
New File 797474 _BidChanges_Google_Formatted.xlsx
New File 786782 _BidChanges_Yahoo_Formatted.xlsx
2 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\1st bid change\
same 25.9 m ypc-bid-change-data.xls
same 61.4 m ypc-bid-change-data-partner-data-only.xls
4 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\2nd bid change 05132008 - bad data\
same 2.2 m ContractData.csv
same 1.2 m MonthData.csv
same 110.8 m YPC_BidChangerData.csv
same 167936 YPC_BidChangerData.mdb
2 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\2nd bid change 05162008\
same 30.4 m YPC_Account_Info_2008.xls
same 123.1 m YPC_BidChangerData.csv
2 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\3rd bid change 05202008\
same 30.4 m YPC_Account_Info_2008.xls
same 321.7 m YPC_BidChangerData.csv
8 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\4th bid change 06102008\
same 2.9 m Contract_data corrected myver1.csv
same 1.3 m contract_data.csv.orig
same 843776 extract - zero and one cent bids.xls
same 1.2 m monthly_data corrected myver1.csv
same 2.2 m monthly_data.csv.orig
same 199.2 m YPC_BidChangerData myver1.csv
same 1000.0 m YPC_BidChangerData.accdb
same 359.6 m YPC_BidChangerData.csv
3 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\4th bid change 06102008\corrected data
06232008\
same 361836 YPC Bid Change Data - Corrected Bids
my_ver1.csv
same 231382 YPC Bid Change Data - Corrected Bids
my_ver2.csv
same 455270 YPC Bid Change Data - Corrected Bids.csv
5 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\5th bid change 07102008\
same 26624 one cent error rows.xls
same 772.5 m YPC_BidChangerData.accdb
same 436.6 m YPC_BidChangerData_20080710.csv
same 2.2 m YPC_Contract_20080710.csv
same 1.2 m YPC_Monthly_20080710.csv
6 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\6th bid change 07212008\
same 29696 1centBids.xls
same 2.2 m July21_ContractData.csv
same 1.2 m July21_MonthData.csv
same 844.8 m YPC_BidChangerData.accdb
same 471.0 m YPC_BidChangerData.csv
same 536.5 m YPC_BidChangerData_1cent_corrected.csv
2 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\6th bid change 07212008\bidchange_output
\
same 1.5 m
tool_suggested_BidChanges_Google_Formatted.xls
same 1.6 m
tool_suggested_BidChanges_Yahoo_Formatted.xls
7 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\7th bid change 08082008\
same 2.2 m Aug8_ContractData.csv.bad.format.orig
same 2.2 m Aug8_ContractData_mycorrected.csv
same 1.2 m Aug8_MonthData.csv
same 390 correction notes.txt
same 47.5 m YPC_BidChangerData.csv
same 91.8 m YPC_BidChangerData.csv.accdb
same 46.1 m YPC_BidChangerData_mysaved.xlsx
2 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\7th bid change 08082008\bidchange_output
\
same 1.6 m
tool_suggested_BidChanges_Google_Formatted.xls
same 1.6 m
tool_suggested_BidChanges_Yahoo_Formatted.xls
7 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\8th bid change 08222008\
same 2.2 m Aug22_ContractData.csv
same 1.3 m Aug22_MonthData.csv
same 1.3 m Aug22_MonthData.csv.bad.format.orig
same 1.2 m Aug22_MonthData.mycorrected.csv
same 79.0 m YPC_BidChangerData.accdb
same 40.2 m YPC_BidChangerData.csv
same 47.3 m YPC_BidChangerData_mysaved.xlsx
2 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\8th bid change 08222008\bidchanger_output
\
same 1.5 m
tool_suggested_BidChanges_Google_Formatted.xls
same 1.5 m
tool_suggested_BidChanges_Yahoo_Formatted.xls
6 E:\Workspace\CW2008\Production
\worthington2008\Raw Bid Data\9th bid change 09082008\
same 2.2 m Sept_8_Contract.csv
same 2.2 m Sept_8_Contract_corrected.csv
same 1.2 m Sept_8_Monthly.csv
same 49.2 m YPC_BidChangerData.csv
same 50.3 m YPC_BidChangerData_mysaved.xlsx
same 95.1 m YPC_data_test.accdb
9 E:\Workspace\CW2008\Production
\worthington2008\Scott\
older 17065 UDACS and description.xlsb
same 1.3 g CWv2.2Scott.accdb
same 1.6 g CWv2.2Scott2.accdb
same 1.6 m OldGoogle_Formatted.xls
same 1.6 m OLDYahoo_Formatted.xls
same 42.2 m Raw Data Jan-Oct 2008.xlsx
same 356352 Test DB.accdb
Newer 146.2 m Churn Nov 2008.mdb
Newer 1.7 g CWv2.2Scott3.accdb

------------------------------------------------------------------------------

Total Copied Skipped Mismatch FAILED
Extras
Dirs : 44 3 41 0 0
0
Files : 174 18 156 0 0
3
Bytes : 19.512 g 7.151 g 12.360 g 0 0 4.741
g
Times : 0:07:50 0:07:50 0:00:00
0:00:00

Speed : 16335391 Bytes/sec.
Speed : 934.718 MegaBytes/min.

Ended : Wed Dec 24 05:31:17 2008
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-24-2008, 07:39 AM   #8
scottedwards2000
Guest
 
Posts: n/a
Re: With Robocopy can I just show files that were skipped due tobeing newer in the destination?

On Dec 24, 5:37*am, scottedwards2000 <scottedwards2...@gmail.com>
wrote:
> On Dec 22, 3:09*pm, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
>
>
>
>
>
> > "scottedwards2000" <scottedwards2...@gmail.com> wrote in message

>
> >news:183099c4-fafd-4194-b7dc-3e65c30b76dd@y1g2000pra.googlegroups.com...
> > On Dec 22, 1:52 am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:

>
> > > "scottedwards2000" <scottedwards2...@gmail.com> wrote in message

>
> > >news:9e802dbb-08f8-4e49-87d7-b4f33afd98ae@o4g2000pra.googlegroups.com....
> > > On Dec 1, 3:02 am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:

>
> > > > "scottedwards2000" <scottedwards2...@gmail.com> wrote in message

>
> > > >news:292a7016-3095-4c2e-87c2-fcd9499bd617@t26g2000prh.googlegroups.com...

>
> > > > > Robocopy is great at showing in the output files that were skipped
> > > > > because they were "Extra" (present in the destination only) -- this
> > > > > appears to be the default behavior -- but the only way I seem to be
> > > > > able to show files that were skipped because they are NEWER in the
> > > > > destination (they are skipped because I'm using the /xo flag) is the
> > > > > use the /v (verbose) flag, which shows me ALL skipped files. I don't
> > > > > need to see all that because I'm using robocopy to move any new files
> > > > > from a production directory to a backup directory, so of course there
> > > > > will be many skipped files each time. But, I really want to guard
> > > > > against the posibility that someone will put a NEW file in the backup
> > > > > directory by accident instead of the Production directory, so I need
> > > > > some way to quickly see the files that were skipped due to my use of
> > > > > the /xo flag. Is there any way? Do I have to combine robocopy with
> > > > > some text processing commands?

>
> > > > Standard redirection stuff:
> > > > robocopy d:\temp d:\Mon *.txt /xo /v | find /i "older"

>
> > > Thanks, Pegasus.
> > > Great suggestion -- I wasn't even aware of that find command. The
> > > only issue is that I wanted a concise log that only listed the
> > > exceptions, and that /v (verbose) flag causes the log to be too long.
> > > So, using your idea, I came up with a 2-3 step solution that allows me
> > > to have the concise log and still check for "older" files. Let me
> > > know if you can think of a better way (although I still think Robocopy
> > > should have as an option to show these "older" files alongside the
> > > "extra" ones without having to use the verbose option).

>
> > > 1. first I run this to actually do the backup and list any Extra
> > > files:

>
> > > robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
> > > 10 /xo /log+:RoboLog.txt /s /np

>
> > > and look through the log for any "EXTRA" files or directories

>
> > > 2. then run this to check for files not backed-up due to the
> > > destination copy being NEWER:

>
> > > robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
> > > 10 /xo /s /np /v | find /i "older"

>
> > > 3. if you see any output from #2, use the log from this command to
> > > find the specific location of the file(s):

>
> > > robocopy E:\Workspace\CW2008\Production E:\Workspace\CW2008\Backup /r:
> > > 10 /xo /log:RoboLogVerbose.txt /s /np /v

>
> > > ==============

>
> > > I'm not quite with you. You write " I wanted a concise log that
> > > only listed the exceptions", and this is precisely what the command

>
> > > robocopy d:\temp d:\Mon *.txt /xo /v | find /i "older"

>
> > > does: It lists the exceptions, nothing more, nothing less.- Hide quoted
> > > text -

>
> > > - Show quoted text -

>
> > Sorry, you are right -- it is just that I also wanted to keep the
> > format of the log where it lists the files that were copied and the
> > "Extra" files. *What I meant by concise was not listing all of the
> > files like the verbose option does. *But your command was very helpful
> > - I just have to live with the multiple steps.

>
> > Thanks again for your help.

>
> > =======================

>
> > This is called "scope creep" - having one set of specs at first, then
> > modifying them as time goes by . . .

>
> > If your multiple steps do the trick, fine. If they don't then the usual
> > method would be to massage the log file with a script. If you were to post a
> > short sample of the verbose report, then a manually edited version of what
> > you would really like to see then I could tell you if this would be a
> > trivial exercise or a big effort.- Hide quoted text -

>
> > - Show quoted text -

>
> Thanks - below is the output with /v. *I simply want to remove all the
> lines that have "same" in front of them.
>
> ---------------------------------------------------------------------------*----
> * *ROBOCOPY * * :: * * Robust File Copy for Windows * * :: * * Version
> XP026
> ---------------------------------------------------------------------------*----
>
> * Started : Wed Dec 24 05:23:27 2008
>
> * *Source : E:\Workspace\CW2008\Production\
> * * *Dest : E:\Workspace\CW2008\Backup\
>
> * * Files : *.*
>
> * Options : *.* /V /S /COPYAT /NP /XO /R:10 /W:30
>
> ---------------------------------------------------------------------------*---
>
> * * * * * * * * * * * * * *0 * *E:\Workspace\CW2008\Production\
> * * * * * * * * * * * * * *0 * *E:\Workspace\CW2008\Production\worthington2008\
> * * * * * * * * * * * * * *4 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\
> * * * * * *EXTRA File * * * * * * *1.7 g * * * *Copy (3) of CWv2.2.accdb
> * * * * * *EXTRA File * * * * * * *1.6 g * * * *Copy of Copy of CWv2.2.accdb
> * * * * * *EXTRA File * * * * * * *1.3 g * * * *Pre dailydata Copy of CWv2.2.accdb
> * * * * * * * * * same * * * * * 513.1 m * * * *CWv2.2_blank.accdb
> * * * * * * Newer * * * * * * * * *1.6 g * * * *Copy (2) of CWv2.2.accdb
> * * * * * * Newer * * * * * * * * *1.6 g * * * *Copy of CWv2.2.accdb
> * * * * * * Newer * * * * * * * * *1.6 g * * * *CWv2.2.accdb
> * * * * * * * * * * * * * *5 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\BidChanges042508\
> * * * * * * * * * same * * * * * *20.5 m * * * *BidChanges_ATTW-YPC-04-25-2008.xls
> * * * * * * * * * same * * * * * * 2.0 m * * * *BidChanges_ATTW-YPC-04-25-2008_Google.xls
> * * * * * * * * * same * * * * * * 2.0 m * * * *BidChanges_ATTW-YPC-04-25-2008_Yahoo.xls
> * * * * * * * * * same * * * * * * 4.0 m * * * *BidChanges_ATTW-
> YPC-04-25-2008_YahooandGoogle.xls
> * * * * * * * * * same * * * * * * * 244 * * * *parameters.txt
> * * * * * * * * * * * * * *5 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\BidChanges052308\
> * * * * * * * * * same * * * * * * 1.1 m * * * *_BidChanges_Google_Formatted_052308.xls
> * * * * * * * * * same * * * * * *527872 * * * *_BidChanges_Google_Formatted_052308_ATTE.xls
> * * * * * * * * * same * * * * * * 1.1 m * * * *_BidChanges_Yahoo_Formatted_053208.xls
> * * * * * * * * * same * * * * * *534528 * * * *_BidChanges_Yahoo_Formatted_053208_ATTE.xls
> * * * * * * * * * same * * * * * * * 244 * * * *parameters.txt
> * * * * * * * * * * * * * *3 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\BidChanges062508\
> * * * * * * * * * same * * * * * * 1.5 m * * * *_BidChanges_Google_Formatted 062508.xls
> * * * * * * * * * same * * * * * * 1.5 m * * * *_BidChanges_Yahoo_Formatted 062508.xls
> * * * * * * * * * same * * * * * * * 244 * * * *parameters.txt
> * * * * * * * * * * * * * *4 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\BidChanges072308\
> * * * * * * * * * same * * * * * *422179 * * * *YPC_BidChanges_Google_national_and_local.csv
> * * * * * * * * * same * * * * * * 1.5 m * * * *YPC_BidChanges_Google_national_and_local.xls
> * * * * * * * * * same * * * * * *429566 * * * *YPC_BidChanges_Yahoo_national_and_local.csv
> * * * * * * * * * same * * * * * * 1.5 m * * * *YPC_BidChanges_Yahoo_national_and_local.xls
> * * * * * * * * * * * * * *4 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\BidChanges081408\
> * * * * * * * * * same * * * * * *403130 * * * *YPC_BidChanges_Google_national_and_local.csv
> * * * * * * * * * same * * * * * * 1.5 m * * * *YPC_BidChanges_Google_national_and_local.xls
> * * * * * * * * * same * * * * * *406491 * * * *YPC_BidChanges_Yahoo_national_and_local.csv
> * * * * * * * * * same * * * * * * 1.5 m * * * *YPC_BidChanges_Yahoo_national_and_local.xls
> * * * * * * * * * * * * * *5 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\BidChanges082508\
> * * * * * * * * * same * * * * * * * *85 * * * *output_modify_notes.txt
> * * * * * * * * * same * * * * * *408114 * * * *YPC_BidChanges_Google_national_and_local.csv
> * * * * * * * * * same * * * * * * 1.4 m * * * *YPC_BidChanges_Google_national_and_local.xls
> * * * * * * * * * same * * * * * *417661 * * * *YPC_BidChanges_Yahoo_national_and_local.csv
> * * * * * * * * * same * * * * * * 1.5 m * * * *YPC_BidChanges_Yahoo_national_and_local.xls
> * * * * * * * * * * * * * *5 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\BidChanges092908\
> * * * * * * * * * same * * * * * * * *85 * * * *output_modify_notes.txt
> * * * * * * * * * same * * * * * *435049 * * * *YPC_BidChanges_Google_Formatted.csv
> * * * * * * * * * same * * * * * * 1.5 m * * * *YPC_BidChanges_Google_Formatted.xls
> * * * * * * * * * same * * * * * *444731 * * * *YPC_BidChanges_Yahoo_Formatted.csv
> * * * * * * * * * same * * * * * * 1.6 m * * * *YPC_BidChanges_Yahoo_Formatted.xls
> * * * * * * * * * * * * * *5 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\BidChanges102408\
> * * * * * * * * * same * * * * * * * *86 * * * *output_modify_notes.txt
> * * * * * * * * * same * * * * * *362415 * * * *YPC_BidChanges_Google_Formatted.csv
> * * * * * * * * * same * * * * * *600951 * * * *YPC_BidChanges_Google_Formatted.xlsx
> * * * * * * * * * same * * * * * *383501 * * * *YPC_BidChanges_Yahoo_Formatted.csv
> * * * * * * * * * same * * * * * *631537 * * * *YPC_BidChanges_Yahoo_Formatted.xlsx
> * * * * * * * * * * * * * *5 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\BidChanges111208\
> * * * * * * * * * same * * * * * * * *86 * * * *output_modify_notes.txt
> * * * * * * * * * same * * * * * *404800
> tool_suggested_BidChanges_Google_Formatted.csv
> * * * * * * * * * same * * * * * *734098
> tool_suggested_BidChanges_Google_Formatted.xlsx
> * * * * * * * * * same * * * * * *399696
> tool_suggested_BidChanges_Yahoo_Formatted.csv
> * * * * * * * * * same * * * * * *723024
> tool_suggested_BidChanges_Yahoo_Formatted.xlsx
> * * * * * * * * * * * * * *5 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\BidChanges112408\
> * * * * * * * * * same * * * * * * * *86 * * * *output_modify_notes.txt
> * * * * * * * * * same * * * * * *428921 * * * *YPC_BidChanges_Google_Formatted.csv
> * * * * * * * * * same * * * * * *731232 * * * *YPC_BidChanges_Google_Formatted.xlsx
> * * * * * * * * * same * * * * * *427152 * * * *YPC_BidChanges_Yahoo_Formatted.csv
> * * * * * * * * * same * * * * * *729045 * * * *YPC_BidChanges_Yahoo_Formatted.xlsx
> * * * * * * * * * * * * * *4 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\BidChanges121008\
> * * * * * * * * * same * * * * * *448287 * * * *YPC_BidChanges_Google_Formatted.csv
> * * * * * * * * * same * * * * * *761426 * * * *YPC_BidChanges_Google_Formatted.xlsx
> * * * * * * * * * same * * * * * *449252 * * * *YPC_BidChanges_Yahoo_Formatted.csv
> * * * * * * * * * same * * * * * *757546 * * * *YPC_BidChanges_Yahoo_Formatted.xlsx
> * * * * * New Dir * * * * *4 * *E:\Workspace\CW2008\Production
> \worthington2008\BidChangeTool\BidChanges122208\
> * * * * * * New File * * * * * * *449090 * * * *YPC_BidChanges_Google_Formatted.csv
> * * * * * * New File * * * * * * *768169
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -


Sorry, just to note that there is some unintended line wrap above -
those wraps are not hard coded .
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-24-2008, 09:29 AM   #9
Pegasus \(MVP\)
Guest
 
Posts: n/a
Re: With Robocopy can I just show files that were skipped due to being newer in the destination?


"scottedwards2000" <scottedwards2000@gmail.com> wrote in message
news:961dbf77-ad20-4395-8307-
<snip>
Thanks - below is the output with /v. I simply want to remove all the
lines that have "same" in front of them.

same 20.5 m BidChanges_ATTW-YPC-04-25-2008.xls
same 2.0 m BidChanges_ATTW-YPC-04-25-2008_Google.xls
<snip>
========================
I asked for a "short" sample - please don't post a large number of
repetitious lines.

I strongly recommend that you familiarise yourself with "find.exe", e.g. by
typing "find /?" at the Command Prompt. It is a very useful command for a
server administrator. You will immediately see that you can achieve your aim
like so:

robocopy /.. /.. | find /i /v " same " > c:\robocopy.txt


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-24-2008, 10:01 AM   #10
scottedwards2000
Guest
 
Posts: n/a
Re: With Robocopy can I just show files that were skipped due tobeing newer in the destination?

On Dec 24, 7:29*am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> "scottedwards2000" <scottedwards2...@gmail.com> wrote in message
>
> news:961dbf77-ad20-4395-8307-
> <snip>
> Thanks - below is the output with /v. *I simply want to remove all the
> lines that have "same" in front of them.
>
> * * * * * same * 20.5 m BidChanges_ATTW-YPC-04-25-2008.xls
> * * * * * same * *2.0 m BidChanges_ATTW-YPC-04-25-2008_Google.xls
> <snip>
> ========================
> I asked for a "short" sample - please don't post a large number of
> repetitious lines.
>
> I strongly recommend that you familiarise yourself with "find.exe", e.g. by
> typing "find /?" at the Command Prompt. It is a very useful command for a
> server administrator. You will immediately see that you can achieve your aim
> like so:
>
> robocopy /.. /.. | find /i /v " same " > c:\robocopy.txt


Thanks for the quick response, Pegasus. That's a great solution that
will definitely save me a lot of time. I didn't realize that you
could "log" out by just putting ">" at the end of the line - I would
have tried a pipe, which obviously wouldn't have worked. It does look
like the find command is very handy - I'll definitely remember this
design pattern. Thanks again for all your help - you gave me faith
again in Usenet after all these articles saying it was dead, and
thinking that so many helpful people have moved on to forums and sites
like experts-exchange.com (I posted this question there for 500 points
and it STILL hasn't been answered!).
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
beingnewer, destination, due, files, robocopy, show, skipped



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Skipped Files John Windows 2003 Server 5 10-03-2008 03:49 PM
Re: Robocopy sets attributes on destination folder to system and hidde glennpsion Windows Vista 6 08-13-2008 04:54 PM
Rename destination file with Robocopy WB Windows XP 3 03-27-2008 06:48 PM
WSUS Backup - files in use and skipped flyersix Windows 2003 Server 1 02-08-2008 11:23 AM
Open files being skipped with NTBACKUP when /snap:on specified Ken L Windows 2003 Server 1 08-23-2007 11:39 AM




This is a Schwarz Network site.

All times are GMT -5. The time now is 04:22 PM.
Designed by: vBSkinworks