PDA

View Full Version : how can change this in all file at once?




hrithik123
Jul 20, 2010, 03:43 AM
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?



robbieduncan
Jul 20, 2010, 03:54 AM
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.

bredell
Jul 20, 2010, 05:39 PM
From the Xcode menu select Edit -> Find -> Find in project. It will let you search and replace in all source code files.

hrithik123
Sep 16, 2010, 07:21 AM
yes done it..