how can change this in all file at once?

Discussion in 'iPhone/iPad Programming' started by hrithik123, Jul 20, 2010.

  1. macrumors member

    Feb 3, 2010
    i see default comment in all file

    Created by First Name Last name on 17/07/10.
    // Copyright 2010 company name. All rights reserved.

    how can i find - replace or delete from all file in simple way?
  2. Moderator emeritus


    Jul 24, 2002
    Close the project in XCode (not sure if this is required but seems like a good idea)
    Use sed on the command line to alter all the files (probably with xargs too). Use Google to lookup these commands if you don't know how they work.
  3. macrumors regular

    Mar 30, 2008
    Uppsala, Sweden
    From the Xcode menu select Edit -> Find -> Find in project. It will let you search and replace in all source code files.
  4. thread starter macrumors member

    Feb 3, 2010
    yes done it..

Share This Page