Page 1 of 1

copy folder (on file system)

Posted: June 29th, 2014, 11:27 am
by axymark
Searching for hours on this to no avail...

I need to copy entire folder and it's contents (files and folders, whole hierarchy) on file system but both scripting and tools guides suggest there's no easy command to do this directly from after effects.

I can copy individual files using fileObj.copy (target). Need the same for a folder object.

If it's not possible i might write a function to recreate a hierarchy using getFiles() and copy file by file... or send a callSystem command or something... But i'd rather not.