I haven't used it for a few years but this sort of thing sounds like a great fit for a PowerShell script.


-----Original Message-----
From: PcTech [mailto:pctech-bounces@xxxxxxxxxxxx] On Behalf Of mlazarus
Sent: Sunday, September 30, 2018 10:07 AM
To: PC Technical Discussion for IBM i (AS/400 and iSeries) Users
Subject: Re: [PCTECH] Recommendations for a Windows file delete utility

Hi Paulo,

Thanks for the suggestion. Does it have an option to delete files?
In most cases I want to do a delete.

-mark

On 9/29/2018 11:08 PM, Paulo Raposo wrote:
Mark,

Have you ever used robocopy?

This should get you started

How do I use robocopy to move files older than 3 years? - Windows Forum - Spiceworks
https://community.spiceworks.com/topic/2039167-how-do-i-use-robocopy-to-move-files-older-than-3-years



Paulo Raposo

[The Lynch Companies]<http://www.jhlynch.com/>

IT / Application Developer

p. 401.495.0605<tel:401.495.0605>

c. 401.556.3128<tel:401.556.3128>




On Sep 29, 2018, at 9:43 PM, mlazarus<mlazarus@xxxxxxxxxxxx<mailto:mlazarus@xxxxxxxxxxxx>> wrote:

I am looking for recommendations for a file delete utility to be run on a Windows server. The delete criteria would be the age of the files within a list of folders. Each folder might have a different retention value. It would need to run via the Windows scheduler.

A nice to have feature would be the ability to move to a different folder instead of deleting, but not required. TIA.

-mark
--
This is the PC Technical Discussion for IBM i (AS/400 and iSeries) Users (PcTech) mailing list
To post a message email: PcTech@xxxxxxxxxxxx<mailto:PcTech@xxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/pctech
or email: PcTech-request@xxxxxxxxxxxx<mailto:PcTech-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/pctech.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.