tags:

views:

78

answers:

1

Hi all I need to help for you.

I made images for retina display like "**@2x.png". but it can not add to svn like this.

******-no-iMac-2:baz shunter$ svn add retina_images/[email protected]
svn: warning: 'retina_images/foo' not found

I know how to add resource each like this.

******-no-iMac-2:baz shunter$ svn add retina_images/[email protected]@
A  (bin)  retina_images/[email protected]

but I made many images, so I feel so bad to do this way.

I really want to know how to add like this.

******-no-iMac-2:baz shunter$ svn add retina_images/bar/*.png

Please help!!

+1  A: 

I had this exact problem a few days ago and solved it this way:

berry$ for i in retina_images/bar/*.png
do
   svn add $i@
done

A  (bin)  retina_images/bar/[email protected]
A  (bin)  retina_images/bar/[email protected]
A  (bin)  retina_images/bar/[email protected]
A  (bin)  retina_images/bar/[email protected]

berry$ svn commit

It's not, perhaps, an ideal solution to the problem, but it worked and I could move on.

Berry