objective c - Prevent multiple copies of a file on OS X -


i have file somewhere on hard drive , make sure accessed particular program , not

  • backed time machine
  • copied versions feature of os x 10.7
  • in other way copied system - unless user explicitly i.e. copying other directory.

is possible programmatically in objective-c or c?

as far know, using csbackupsetitemexcluded should enough - you'll need link against coreservices framework access this. takes care of time machine , versions. i'm not aware of other cases system automatically copy file unless explicitly done user.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -