Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Coping files with RoBOCopy

3 views
Skip to first unread message

Pat

unread,
Sep 27, 2003, 4:23:29 PM9/27/03
to
When using the purge option with robocopy, is there a way
to not purge a file unless its two weeks old? I would like
to delete the file on the source after two weeks have gone
by and it's still not on the destination. This is just in
case a file was deleted from the dest. by accident.

Thank You.

Michael Bednarek

unread,
Sep 28, 2003, 9:12:43 PM9/28/03
to
On Sat, 27 Sep 2003 13:23:29 -0700, "Pat" <pciri...@hotmail.com> wrote
in microsoft.public.win2000.cmdprompt.admin:

Try the paramter /MINAGE.

From "robocopy.doc" (Robust File Copy Utility Version 1.95):

/MINAGE:n Excludes files newer than n days or specified
date. If n is less than 1900, then n is expressed
in days. Otherwise, n is a date expressed as
YYYYMMDD.

or see "robocopy /???"

--
Michael Bednarek, IT Manager, Tactical Global Management
Waterfront Pl, Brisbane 4000, Australia. "POST NO BILLS"
http://mcmbednarek.tripod.com/

0 new messages