Hi, I meant to reply to the list...
On Mon, May 11, 2009 at 4:18 PM, aaburomeh <[email protected]> wrote: > > Hey guys. I'm new to the whole make idea. > I have a directory containing my .svn folder and other *.c, *.h and *.mak > files. > is there a way to use the "rm" to delete all files and folders within this > directory except the .svn folder? This isn't really a make question. You can use the find command to come up with a list of names: find . ! \( -name .svn -prune \) -type f and then modify it to remove all files that were found: find . ! \( -name .svn -prune \) -type f -exec rm {} \; -- Dave Hylands Shuswap, BC, Canada http://www.DaveHylands.com/ _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
