Re: Removing Files with a specified date.

From: Andre georgel (agl_at_free.com)
Date: 04/27/05

  • Next message: Andre georgel: "Re: Removing Files with a specified date."
    Date: Wed, 27 Apr 2005 12:17:36 +0200
    
    

    John DuBois a écrit :

    > In article <r2nq61140im8fgcduede7kr8atqjnqov12@4ax.com>,
    > Andre Georgel <agl@nospam.com> wrote:
    > >>"Andre Georgel" <agl@nospam.com> wrote in message
    > >>news:bdkh615qm7naguqe9uibbji9t2b46qobur@4ax.com...
    > >>>
    > >>> I'm not fine in shell and I want to find a shell (KSH) command to
    > >>> remove, in a directory, all the files with a specified date in the
    > >>> command.
    > >>>
    > >Thank you for the help, I've make some tests all it's OK, but I'd
    > >prefere a solution with an explicite date (ex. 12 DEC 2004).
    >
    > You could pick up this:
    >
    > ftp://ftp.armory.com/pub/scobins/rh
    >
    > Man page: ftp://ftp.armory.com/pub/scobins/help_pages/rh
    >
    > It's a recursive file locater, like find but in some ways much superior -
    > it uses a C-like syntax and gives direct access to all of the file metadata.
    > You would do something like:
    >
    > rh -e 'mtime >= [2004/12/12] && mtime < [2004/12/13]' dir-name | xargs rm --
    >
    > John
    > --
    > John DuBois spcecdt@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/

    Thank you for your help, i've loaded rh and I'll make some tets after my
    hollydays ending at 05 May.

    Andre georgel.


  • Next message: Andre georgel: "Re: Removing Files with a specified date."

    Relevant Pages

    • Re: Removing Files with a specified date.
      ... John DuBois a écrit: ... > It's a recursive file locater, like find but in some ways much superior - ... My system test is in OSR 5.0.6 an the working test on 5.0.05. ...
      (comp.unix.sco.misc)
    • Re: Removing Files with a specified date.
      ... Andre Georgel wrote: ... It's a recursive file locater, like find but in some ways much superior - ... John DuBois spcecdt@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/ ...
      (comp.unix.sco.misc)