tags:

views:

31

answers:

1

With the new iPhone 2x files i've stumbled uppon this problem...

+1  A: 

You need to add a "@" sign in the end to get SVN to process the file.

For example, if you had a file called [email protected] which you want to add to SVN, you would type:

svn add [email protected]@

If you have lots of files with the "@" symbol in their name that you want to process in a batch (i.e. use * wildcard), you can do something like this in OS X Terminal:

find . -name "*@*" | xargs -I % svn add %@

The above command will use the find utility to list out each file with @ in its filename and then pipe the path to the file to SVN using XARGS. XARGS will replace each occurrence of % with the path and append the special "@" at the end of the filename so that SVN will accept it.

Hope this helps - I had to whack my head for a bit to add the gazzilion @2x.png files that were needed for my app to be upgraded for iOS4.0

bhavinb
Of course, if you want to remove the files instead of adding them, you just need to replace svn add with svn delete in the example above and it should work.
bhavinb