copy folder (on file system)

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
User avatar
Posts: 23
Joined: November 29th, 2013, 7:04 am

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.
Post Reply