Learning to Programm / Question how complex it is to rename files

Discussion in 'Mac Programming' started by docbot, Feb 11, 2012.

  1. macrumors newbie

    Apr 28, 2011
    Hey There,

    I want to learn how to programm a mac application, simply because I want to develop a program to solve something that I haven't yet been able to with another App.

    So I am willing to go down that road, but since I want to write an app, that renames files based on metadata. I was just wondering how complex of a thing that is to do?

    Is that a goal I will be able to reach in a few month, or does it requier very deep knowledge of the macs filesystem or whatever.

  2. macrumors regular


    Jun 25, 2007
    Houston, TX
    Renaming a file is trivial, and can typically be done in 1-2 lines of code, in any language.

    Retrieving the file metadata is going to be a little harder and a little confusing at first, but shouldn't be anything insurmountable.

    See this page for a listing of all the classes and methods available for fetching and retrieving the filesystem metadata (Objective-C links on left)

Share This Page