OK, so basically here's what I want to do :
- I have a list of files in my app bundle, e.g. in folder
myData
(please note: there are lots of files/folders within subfolders/etc) - I want to copy the whole file tree to a given location on user's disk
- I need to have access to each separate file being copied, since some of them will need to be processed before being copied.
How would you go about that? Any ideas?
P.S.
- I know about
NSFileWrapper
'swriteFile:atomically:updateFilenames
, but it doesn't gie me access to each file - I already have a method for getting the file tree for a specific folder. However, it still seems to me kinda slow. Is there any built-in (or more Cocoa-friendly) way for that?
- Since there are quite a lot of files, the whole process must run so that the GUI does not freeze