Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Files modified after a given date



Vincent Lefevre <vincent@xxxxxxxxxx> writes:

> Is there a way to get the files modified after a given date (as a
> glob qualifier), the date being given as the number of seconds since
> the origin?

Assuming I'm understanding the question correctly, no.  You can (in
3.1.6, anyway), get files modified since some time relative to the
current time:

        *.c(ms-30)

expands to C files modified in the last 30 seconds, for example.

This is described towards the end of zshexpn(1).



Messages sorted by: Reverse Date, Date, Thread, Author