I will list handy OS X Commands here.
Archiving
This will create a MAC OS X archive of my source tree:
find ./Simpass -name \*.h -o -name \*.c -o -name \*.cpp -o -name \*.xcodeproj|xargs tar cvfz ./deploy/Simpass.tar.gz
Lets put this into a shell script named tarsimpass.sh:
#!/bin/bash
echo Zipping Simpass
find ./Simpass -name \*.h -o -name \*.c -o -name \*.cpp -o -name \*.xcodeproj|xargs tar cvfz ./deploy/Simpass.tar.gz
From bash terminal give the script owner (me) read+execute permission:
chmod u+rx tarsimpass.sh
Finally execute to zip the project:
./tarsimpass.sh
Wednesday, December 2, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment