On Monday 21 Sep 2009, balachandar muruganantham wrote: > > for find, which has a exec by default. not need to use xargs > > You can also remove all .svn files like this. > find . -type d -name .svn -exec rm -rf {} \; >
True, but each 'exec' forks a sub shell to execute the command passed to it, whereas with xargs it is only one sub shell i.e. the command and the target which comes from the find command. -- Arun Khan _______________________________________________ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc