"Cyborg" <apollo13@btinternet.com> wrote in message
news4CE8365-7903-4BAD-9CA3-75CFFF1878CE@microsoft.com...
> Hi,
>
> I need to archive files from one server to another that are between
> certain dates and if possible keep permissions, is there such a tool?
So I can move anything modified between certain dates! I see there is a gui
version too.
Thanks
"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
news:uQ7uzJWxIHA.1240@TK2MSFTNGP02.phx.gbl...
>
> "Cyborg" <apollo13@btinternet.com> wrote in message
> news4CE8365-7903-4BAD-9CA3-75CFFF1878CE@microsoft.com...
>> Hi,
>>
>> I need to archive files from one server to another that are between
>> certain dates and if possible keep permissions, is there such a tool?
>
> Yes, robocopy.exe.
>
I'm not familiar with the GUI version but you can certainly
define dates in the command line version.
"Cyborg" <apollo13@btinternet.com> wrote in message
news:FE9BD1B8-1047-47D7-B791-A82143F5F833@microsoft.com...
> So I can move anything modified between certain dates! I see there is a
> gui version too.
>
> Thanks
>
> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
> news:uQ7uzJWxIHA.1240@TK2MSFTNGP02.phx.gbl...
>>
>> "Cyborg" <apollo13@btinternet.com> wrote in message
>> news4CE8365-7903-4BAD-9CA3-75CFFF1878CE@microsoft.com...
>>> Hi,
>>>
>>> I need to archive files from one server to another that are between
>>> certain dates and if possible keep permissions, is there such a tool?
>>
>> Yes, robocopy.exe.
>>
>
"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
news:u%23tJJUXxIHA.5472@TK2MSFTNGP06.phx.gbl...
> I'm not familiar with the GUI version but you can certainly
> define dates in the command line version.
>
>
> "Cyborg" <apollo13@btinternet.com> wrote in message
> news:FE9BD1B8-1047-47D7-B791-A82143F5F833@microsoft.com...
>> So I can move anything modified between certain dates! I see there is a
>> gui version too.
>>
>> Thanks
>>
>> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
>> news:uQ7uzJWxIHA.1240@TK2MSFTNGP02.phx.gbl...
>>>
>>> "Cyborg" <apollo13@btinternet.com> wrote in message
>>> news4CE8365-7903-4BAD-9CA3-75CFFF1878CE@microsoft.com...
>>>> Hi,
>>>>
>>>> I need to archive files from one server to another that are between
>>>> certain dates and if possible keep permissions, is there such a tool?
>>>
>>> Yes, robocopy.exe.
>>>
>>
>
>
You need to wade through the detailed help file - the "maxage"
and "minage" would be prime candidates!
robocopy d:\temp d:\Tue *.txt /maxage:180 /minage:60
There is a "move" switch too.
"Cyborg" <apollo13@btinternet.com> wrote in message
newsEE70114-69D4-4B35-9725-A2363ED4807B@microsoft.com...
> THe command line is better, I can't see a switch to move only modified
> dates say 1999 to 2005, don't suppose you have an example?
>
> robocopy.exe F:\Archive\ "R:\Users" /E /COPYALL /MOVE
>
>
> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
> news:u%23tJJUXxIHA.5472@TK2MSFTNGP06.phx.gbl...
>> I'm not familiar with the GUI version but you can certainly
>> define dates in the command line version.
>>
>>
>> "Cyborg" <apollo13@btinternet.com> wrote in message
>> news:FE9BD1B8-1047-47D7-B791-A82143F5F833@microsoft.com...
>>> So I can move anything modified between certain dates! I see there is a
>>> gui version too.
>>>
>>> Thanks
>>>
>>> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
>>> news:uQ7uzJWxIHA.1240@TK2MSFTNGP02.phx.gbl...
>>>>
>>>> "Cyborg" <apollo13@btinternet.com> wrote in message
>>>> news4CE8365-7903-4BAD-9CA3-75CFFF1878CE@microsoft.com...
>>>>> Hi,
>>>>>
>>>>> I need to archive files from one server to another that are between
>>>>> certain dates and if possible keep permissions, is there such a tool?
>>>>
>>>> Yes, robocopy.exe.
>>>>
>>>
>>
>>
>
Couple of questions what does the *.txt do you added?
/maxage:180 /minage:60= does this mean you will move files that have not
been modified and are between 6 months and 2 months old?
"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
news:O1NEJ4YxIHA.4376@TK2MSFTNGP06.phx.gbl...
> You need to wade through the detailed help file - the "maxage"
> and "minage" would be prime candidates!
> robocopy d:\temp d:\Tue *.txt /maxage:180 /minage:60
> There is a "move" switch too.
>
>
> "Cyborg" <apollo13@btinternet.com> wrote in message
> newsEE70114-69D4-4B35-9725-A2363ED4807B@microsoft.com...
>> THe command line is better, I can't see a switch to move only modified
>> dates say 1999 to 2005, don't suppose you have an example?
>>
>> robocopy.exe F:\Archive\ "R:\Users" /E /COPYALL /MOVE
>>
>>
>> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
>> news:u%23tJJUXxIHA.5472@TK2MSFTNGP06.phx.gbl...
>>> I'm not familiar with the GUI version but you can certainly
>>> define dates in the command line version.
>>>
>>>
>>> "Cyborg" <apollo13@btinternet.com> wrote in message
>>> news:FE9BD1B8-1047-47D7-B791-A82143F5F833@microsoft.com...
>>>> So I can move anything modified between certain dates! I see there is
>>>> a gui version too.
>>>>
>>>> Thanks
>>>>
>>>> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
>>>> news:uQ7uzJWxIHA.1240@TK2MSFTNGP02.phx.gbl...
>>>>>
>>>>> "Cyborg" <apollo13@btinternet.com> wrote in message
>>>>> news4CE8365-7903-4BAD-9CA3-75CFFF1878CE@microsoft.com...
>>>>>> Hi,
>>>>>>
>>>>>> I need to archive files from one server to another that are between
>>>>>> certain dates and if possible keep permissions, is there such a tool?
>>>>>
>>>>> Yes, robocopy.exe.
>>>>>
>>>>
>>>
>>>
>>
>
>
Seems /minage: is the one I need but i can't use more the 1900 days is this
normal?
"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
news:O1NEJ4YxIHA.4376@TK2MSFTNGP06.phx.gbl...
> You need to wade through the detailed help file - the "maxage"
> and "minage" would be prime candidates!
> robocopy d:\temp d:\Tue *.txt /maxage:180 /minage:60
> There is a "move" switch too.
>
>
> "Cyborg" <apollo13@btinternet.com> wrote in message
> newsEE70114-69D4-4B35-9725-A2363ED4807B@microsoft.com...
>> THe command line is better, I can't see a switch to move only modified
>> dates say 1999 to 2005, don't suppose you have an example?
>>
>> robocopy.exe F:\Archive\ "R:\Users" /E /COPYALL /MOVE
>>
>>
>> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
>> news:u%23tJJUXxIHA.5472@TK2MSFTNGP06.phx.gbl...
>>> I'm not familiar with the GUI version but you can certainly
>>> define dates in the command line version.
>>>
>>>
>>> "Cyborg" <apollo13@btinternet.com> wrote in message
>>> news:FE9BD1B8-1047-47D7-B791-A82143F5F833@microsoft.com...
>>>> So I can move anything modified between certain dates! I see there is
>>>> a gui version too.
>>>>
>>>> Thanks
>>>>
>>>> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
>>>> news:uQ7uzJWxIHA.1240@TK2MSFTNGP02.phx.gbl...
>>>>>
>>>>> "Cyborg" <apollo13@btinternet.com> wrote in message
>>>>> news4CE8365-7903-4BAD-9CA3-75CFFF1878CE@microsoft.com...
>>>>>> Hi,
>>>>>>
>>>>>> I need to archive files from one server to another that are between
>>>>>> certain dates and if possible keep permissions, is there such a tool?
>>>>>
>>>>> Yes, robocopy.exe.
>>>>>
>>>>
>>>
>>>
>>
>
>
"Cyborg" <apollo13@btinternet.com> wrote in message
news:%23s1y9KZxIHA.1440@TK2MSFTNGP05.phx.gbl...
> Seems /minage: is the one I need but i can't use more the 1900 days is
> this normal?
I quote from the helpfile:
/MINLAD:n :: MINimum Last Access Date - exclude files used since
n.
(If n < 1900 then n = n days, else n = YYYYMMDD
date).
If this is insufficient then you need to translate "n days" into
an actual date of the form YYYYMMDD.
About your other questions:
> What does the *.txt do you added?
It means what it says: It copies .txt files only.
> /maxage:180 /minage:60= does this mean you will move files that have not
> been modified and are between 6 months and 2 months old?
I actually ran a test to confirm this behaviour before replying
to your post. I urge you to do the same - it will increase your
confidence level that the command really works.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.