[PD] [PD-announce] more objects from libc: stat - get file info

chris clepper cgc at humboldtblvd.com
Wed Jun 14 14:27:51 CEST 2006


Is there a way to get a random file of a certain type (like .mov) from a
specific directory using your objects?

cgc

On 6/14/06, Hans-Christoph Steiner <hans at eds.org> wrote:
>
>
> http://at.or.at/hans/pd/objects.html
>
> Another libc port: stat. It lets you get all sorts of data from a
> file. Quite handy for a number of things, like testing what kind of
> file something is, or get the time of the last access, status change,
> or modification. Should work on all platforms.
>
> Also included is [file_type] object which is written in Pd and uses
> [stat].  It tells you what kind of file something is (file, folder,
> character, block, fifo, etc).
>
> Of course, it'll be in the next Pd-extended test release.
>
> .hc
>
> ------------------------------------------------------------------------
>
> Computer science is no more related to the computer than astronomy is
> related to the telescope.      -Edsger Dykstra
>
>
>
> _______________________________________________
> PD-announce mailing list
> PD-announce at iem.at
> http://lists.puredata.info/listinfo/pd-announce
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060614/eb7e6c56/attachment.htm>


More information about the Pd-list mailing list