File Access and modifying

joedan06's icon

What objects would I want to use to list files in a directory and possibly move/rename/delete them or can Max even do this?

justin's icon

AFAIK there are three possibilities:

1. use folder external, but it will only provide a list of files in a directory
2. look at shell external (osx only), over at maxobjects.com
3. or otherwise if you want cross-platform, u could look into writing your own java based tools.

j

Luke Hall's icon

The [fscopy] external included in the Jasch bundle can do this on Mac OSX machines.

lh

joedan06's icon

I'm on a windows machine, so I'm pretty much SOL? :-(

Luke Hall's icon

Have a look in the Examples Overview for jsFileTester which can copy files. It is a javascript so will work on windows too but will be a fair bit slower than a custom external. Hopefully this will help a bit.

lh