Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Re: xcopy/robocopy pdfs created yesterday and today only.

Reply
Thread Tools Display Modes

Re: xcopy/robocopy pdfs created yesterday and today only.

 
 
Pegasus [MVP]
Guest
Posts: n/a

 
      06-25-2010


"bizw0z" <> wrote in message
news:c888c5d7-6af7-4576-ac65-...
> I have done research but I cant find how to make either xcopy or
> robocopy, copy files with creation dates that are dynamic.
>
> I have a folder that contains over a million pdfs.
>
> At the moment, it backs up the entire folder, overwriting the existing
> pdfs, but as you can imagine, this takes a long time and there is a
> chance that what WAS a good pdf, with a bad copy. (but vice versa).
>
> Anyone have any ideas on how I can run a batch file, that will look at
> the creation date, and only copy ones created created today and
> yesterday. I can then use scheduler to kick it off once an hour, to
> keep the folders pretty well in synch.
>
> Thanks in advance.
>
> Bry


Here is the relevant extract from the robocopy manual:

::
:: File Selection Options :
::
/MAXAGE:n :: MAXimum file AGE - exclude files older than n
days/date.
/MINAGE:n :: MINimum file AGE - exclude files newer than n
days/date.


 
Reply With Quote
 
 
 
Reply

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: we had a whole lot of freezing rain yesterday and today! johnny@. Windows Vista General Discussion 0 01-22-2010 12:31 AM
Re: we had a whole lot of freezing rain yesterday and today! Kevin Hussein Panzke Windows Vista General Discussion 0 01-22-2010 12:07 AM
Trash with deleted items in different folders: today, yesterday, e Franz Windows Vista General Discussion 4 04-07-2006 07:34 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59