× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Use the "find" qshell utility.

Try the command

find . -mtime 7 -exec rm {} \;

Meaning is: find files in the current directory with modification time
greater than 7 days and remove any such file.
You may encounter problems with special file names, just shout if this does
not live up to your expectations.

Shalom Carmel
----------------
www.venera.com - Exposing iSeries insecurity


> date: Wed, 14 Sep 2005 19:59:14 -0500
> from: Ron Adams <rondadams@xxxxxxxxx>
> subject: Re: Cleanup IFS?
>
> Sorry, I guess I should have been a little more specific.
>  I have a TEMP folder on the IFS that is used by various utilities to
create
> extracts/reports in various formats (PDF, CSV, TXT, etc), these files are
> usually downloaded right away or at the very least within 24 hours via a
> user submitting a job to send them. I want to delete (almost) everything
in
> the TEMP folder that is older than a week. Is there a command or utility
> that I can use to do this?
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.