Hi,
actually I ask a remote machine for
contentsOfDirectoryAtPath
Then for each file I ask for
attributesOfItemAtPath
And check the NSFileType to verify whether the file is
NSFileTypeDirectory
NSFileTypeRegular
NSFileTypeSymbolicLink
Then I check
isFilePackageAtPath
kLSItemInfoIsInvisible
kFSNodeLockedMask
kFSCatInfoCreateDate
kFSCatInfoContentMod
kFSCatInfoBackupDate
kFSCatInfoAccessDate
These queries take a long time on a remote machine.
Is a faster way to get all of that? I thought to use a Terminal command
throughan NSTask (e.g. "ls -la" plus other options), but honestly I don't
know how to filter the query and get the smallest necessary data. Any hint?
Regards
-- Leonardo
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]