[OPLINTECH] spring cleaning help wanted
Chad Neeper
cneeper at level9networks.com
Thu Jan 7 12:51:51 EST 2010
I'm using Vista OS. In playing around with a few commands to do what you
want, I discovered that at some point Microsoft has obsoleted XCOPY in
favor of ROBOCOPY. That's good for you, if you have it. It looks like
ROBOCOPY has the exact options you might be looking for. From the
console prompt, type robocopy /? for the command parameters. It can
supposedly include or exclude files based on date or age of the file.
Check the /MAXAGE /MINAGE /MAXLAD and /MINLAD options.
I sorry I can't spend any more time on it right now, but this might help
to get you started. Note that if you use the -L parameter, no files will
actually be copied, so you are free to process the whole file system
without actually making any copies. Essentially you can build a list
without making any actual file copies.
Hope this helps,
Chad
-----------------------
Chad Neeper
Senior Systems Engineer
Level 9 Networks
740-548-8070 (voice)
866-214-6607 (fax)
-- Full LAN/WAN consulting services --
-- Specialized in libraries and schools --
R Young wrote:
> I know the rest of Ohio is bogged down in snow and ice, but here in
> Southeast Ohio it is sunny and warm. (Yeah, right. I wish).
>
> Anyway, it is time for spring cleaning. What I would like to do is
> search my server for documents and files created before, say 2009, and
> stored on the server by staff. I would like to port that search into
> a document or comma delimited file so that I can print a list of these
> files for weeding purposes.
>
> any suggestions?
>
> Thanks
>
> R. Young
> Washington County Public Library
> roger at wcplib.lib.oh.us <mailto:roger at wcplib.lib.oh.us>
> ------------------------------------------------------------------------
>
> _______________________________________________
> OPLINTECH mailing list
> OPLINTECH at oplin.org
> http://mail.oplin.org/mailman/listinfo/oplintech
> Search: http://oplin.org/techsearch
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.oplin.org/pipermail/oplintech/attachments/20100107/25a18edb/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3286 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.oplin.org/pipermail/oplintech/attachments/20100107/25a18edb/smime.bin
More information about the OPLINTECH
mailing list