Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Tool to move files between dates

Reply
Thread Tools Display Modes

Tool to move files between dates

 
 
Cyborg
Guest
Posts: n/a

 
      06-03-2008
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?

 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a

 
      06-03-2008

"Cyborg" <> wrote in message
news4CE8365-7903-4BAD-9CA3-...
> 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.


 
Reply With Quote
 
Cyborg
Guest
Posts: n/a

 
      06-03-2008
So I can move anything modified between certain dates! I see there is a gui
version too.

Thanks

"Pegasus (MVP)" <> wrote in message
news:...
>
> "Cyborg" <> wrote in message
> news4CE8365-7903-4BAD-9CA3-...
>> 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.
>


 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a

 
      06-03-2008
I'm not familiar with the GUI version but you can certainly
define dates in the command line version.


"Cyborg" <> wrote in message
news:FE9BD1B8-1047-47D7-B791-...
> So I can move anything modified between certain dates! I see there is a
> gui version too.
>
> Thanks
>
> "Pegasus (MVP)" <> wrote in message
> news:...
>>
>> "Cyborg" <> wrote in message
>> news4CE8365-7903-4BAD-9CA3-...
>>> 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.
>>

>



 
Reply With Quote
 
Cyborg
Guest
Posts: n/a

 
      06-03-2008
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)" <> wrote in message
news:u%...
> I'm not familiar with the GUI version but you can certainly
> define dates in the command line version.
>
>
> "Cyborg" <> wrote in message
> news:FE9BD1B8-1047-47D7-B791-...
>> So I can move anything modified between certain dates! I see there is a
>> gui version too.
>>
>> Thanks
>>
>> "Pegasus (MVP)" <> wrote in message
>> news:...
>>>
>>> "Cyborg" <> wrote in message
>>> news4CE8365-7903-4BAD-9CA3-...
>>>> 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.
>>>

>>

>
>


 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a

 
      06-03-2008
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" <> wrote in message
newsEE70114-69D4-4B35-9725-...
> 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)" <> wrote in message
> news:u%...
>> I'm not familiar with the GUI version but you can certainly
>> define dates in the command line version.
>>
>>
>> "Cyborg" <> wrote in message
>> news:FE9BD1B8-1047-47D7-B791-...
>>> So I can move anything modified between certain dates! I see there is a
>>> gui version too.
>>>
>>> Thanks
>>>
>>> "Pegasus (MVP)" <> wrote in message
>>> news:...
>>>>
>>>> "Cyborg" <> wrote in message
>>>> news4CE8365-7903-4BAD-9CA3-...
>>>>> 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.
>>>>
>>>

>>
>>

>



 
Reply With Quote
 
Cyborg
Guest
Posts: n/a

 
      06-03-2008
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)" <> wrote in message
news:...
> 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" <> wrote in message
> newsEE70114-69D4-4B35-9725-...
>> 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)" <> wrote in message
>> news:u%...
>>> I'm not familiar with the GUI version but you can certainly
>>> define dates in the command line version.
>>>
>>>
>>> "Cyborg" <> wrote in message
>>> news:FE9BD1B8-1047-47D7-B791-...
>>>> So I can move anything modified between certain dates! I see there is
>>>> a gui version too.
>>>>
>>>> Thanks
>>>>
>>>> "Pegasus (MVP)" <> wrote in message
>>>> news:...
>>>>>
>>>>> "Cyborg" <> wrote in message
>>>>> news4CE8365-7903-4BAD-9CA3-...
>>>>>> 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.
>>>>>
>>>>
>>>
>>>

>>

>
>


 
Reply With Quote
 
Cyborg
Guest
Posts: n/a

 
      06-03-2008
Seems /minage: is the one I need but i can't use more the 1900 days is this
normal?


"Pegasus (MVP)" <> wrote in message
news:...
> 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" <> wrote in message
> newsEE70114-69D4-4B35-9725-...
>> 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)" <> wrote in message
>> news:u%...
>>> I'm not familiar with the GUI version but you can certainly
>>> define dates in the command line version.
>>>
>>>
>>> "Cyborg" <> wrote in message
>>> news:FE9BD1B8-1047-47D7-B791-...
>>>> So I can move anything modified between certain dates! I see there is
>>>> a gui version too.
>>>>
>>>> Thanks
>>>>
>>>> "Pegasus (MVP)" <> wrote in message
>>>> news:...
>>>>>
>>>>> "Cyborg" <> wrote in message
>>>>> news4CE8365-7903-4BAD-9CA3-...
>>>>>> 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.
>>>>>
>>>>
>>>
>>>

>>

>
>


 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a

 
      06-03-2008

"Cyborg" <> wrote in message
news:%...
> 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.


 
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
Lost all security permissions. Eli Windows Server 8 03-03-2010 01:12 AM
Re: Tool to scan files on fileserver?? Pegasus \(MVP\) Windows Server 2 11-07-2007 03:15 PM
move which of swap, temp, db log files, etc. to 2nd drive? Les Caudle Windows Server 1 07-14-2007 02:48 AM
RE: urgent: problems reading shared files Robert Premuž Windows Server 0 06-30-2007 08:56 PM
Files won't open after folder move Leni1 Windows Server 0 08-09-2006 09:35 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