how can change this in all file at once?

Discussion in 'iOS Programming' started by hrithik123, Jul 20, 2010.

  1. hrithik123
    Expand Collapse
    macrumors member

    Joined:
    Feb 3, 2010
    #1
    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. robbieduncan
    Expand Collapse
    Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    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. bredell
    Expand Collapse
    macrumors regular

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

    Joined:
    Feb 3, 2010

Share This Page