Why can't xargs delete directories with spaces in their names, and how to fix that?  76 find . -type d |xargs  rm -rf  77 rm -rf fire\ hydrant/  78 rm -rf wine\ glass/  79 rm -rf tennis\ racket/  80 rm -rf traffic\ light/  81 rm -rf parking\ meter/  82 rm -rf teddy\ bear/  83 rm -rf sports\ ball/  84 rm -rf cell\ phone/  85 rm -rf stop\ sign/  86 rm -rf dining\ table/  87 rm -rf potted\ plant/
Normally to remove files with spaces in their filename you would have to run:  $ rm "file name"   but if I want to remove multiple files, e.g.:  $ find . -name "*.txt" | xargs rm   This will not delete files with spaces in them.
Why does a find field value in one application show up in a the find field of another application? On my MacBook Pro I have found that several applications seem to share the value for a find.  For example, I searched 'applestackexchange' in Safari's unified address bar, then I switch to Xcode and click into a Find field.  The first word of my search in Safari then appears there.  iTerm2 and Sublime Text 2 also seem to participate in this sharing.  Running latest Mountain Lion on  a 2012 MBP. What my thought was that the bijection was a piecewise function:  $f(x) = 1/n+1$ if $x = 1/n$ for some $n \in \Bbb N$ and $x=1/n$ if $x \neq1/n$ for some $n \in \Bbb N$.  However, the textbook says this is incorrect. I don't actually see why. Was it a matter of brackets or the open variable $(0,1]$, which is what I tend to think. JUnit @Test expected annotation not working How is Starkiller Base's beam visible from Takodana in The Force Awakens? On Takodana,      the main characters and various bar patrons can see the planet Hosnian Prime being destroyed by Starkiller Base with their (respective) naked eyes. How did they see this? Is the Hosnian system close enough to see? If it's not very close and they could just see the explosion, how did the light from it reach them so quickly? Regular Expression to split on spaces unless in quotes I would like to use the .Net Regex.Split method to split this input string into an array. It must split on whitespace unless it is enclosed in a quote.  Input:  Here is "my string"&nbsp;&nbsp;&nbsp;&nbsp;it has "six&nbsp;&nbsp;matches"  Expected output:   Here is my string it has six&nbsp;&nbsp;matches   What pattern do I need? Also do I need to specify any RegexOptions? Why don't we consider centrifugal force on a mass placed on earth? Notify users of a question they closed being edited or nominated for reopening Is it possible to make the default scene fill two monitors at startup? I know how to set up the default scene by pressing Ctrl+U, but whenever I startup Blender it always fills only one of my screens, even if I set it to fill both before setting the default scene. I end up having to resize it every time I start it up. Is there a way to set this to happen by default? When to use \par and when \\, \newline, or blank lines What is the difference between \par, \newline, \\ and blank lines? When should I use which one? How does Cycles work and how is it different from Blender Internal?  Which is better? Got problem with installation. "No root file system is defined." I'm very new with Ubuntu and generally with linux. I saw ubuntu and it seems like this OS is really good and stable, and so I decided to install it alongside my windows 7 OS.  I have a few problems with the installation. Here is what I did:   I downloaded the 64bit version from Ubuntu official website, and burned it on a dvd. I set the boot sequence to first load from my CD-Rom. Ubuntu installation started, and I chose "Install Ubuntu" in the menu. (where there is also a "Try Ubuntu" option) I clicked forward until I got into the installation type screen    As you can see, the installation wont show my actual details about my hard drive! I have 1 hard drive with 750 GB - 80 GB - My main drive with windows 7 OS 600GB - All of my stuff 20GB Free space that I saved for Ubuntu But the installation wont show that! How to amplify 3.3V to 10V by using an NPN transistor? How to select resistor based on current, how does the amplification happen? Hartshorne's Algebraic Geometry defines an $\mathcal O_X$-module $\mathscr F$ to be quasi-coherent if there is an open affine cover $(U_i=\operatorname{Spec} A_i)_{i\in\mathcal I}$ of $X$ such that each $\mathscr F\rvert_{U_i}$ is isomorphic to the sheaf of modules $\widetilde{M_i}$ associated to some $A_i$-module $M_i$. It is later proved that this is equivalent to the statement that for any open affine $U=\operatorname{Spec} A\subseteq X$, there exists an $A$-module $M$ with $\mathscr F\rvert_U\cong\widetilde M$.  On the other hand, Grothendieck's Éléments de Géométrie Algébrique defines $\mathscr F$ to be quasi-coherent if every point $x\in X$ admits an open neighborhood $U\subseteq X$ such that $\mathscr F\rvert_U$ is isomorphic to the cokernel of a morphism of free $\mathcal O_U$-modules.  Now I wonder how those definitions are equal. I tried proving it by myself, but both directions seem quite nontrivial to me... Any hints? How can I acknowledge, thank, or otherwise approve of an edit? Possible Duplicate:    Sometimes I get an edit that greatly improves a question or answer I have submitted.  I'd like to acknowledge an edit like this, so that readers can know that the revision was approved of by the OP (me!). I was thinking of comments on edit, or a checkbox noting that OP vouches for the edit.  Sometimes I would like to add a comment to the question or answer, but those don't make a lot of sense in that context. Any suggestions about the best way to do this?  Consider this a feature request, as it seems useful to know that a particular edit was endorsed/vetted by the OP. Prove that if $n$ is a natural number and $(3n+1)$ &amp; $(4n+1)$ are both perfect squares, then $56$ will divide $n$.   Clearly we have to show that $7$ and $8$ both will divide $n$.  I considered first $3n+1=a^2$ and $4n+1=b^2$. $4n+1$ is a odd perfect square.  - so we have $4n+1\equiv 1\pmod{8}$; from this $2|n$ so $3n+1$ is a odd perfect square.  - so $3n+1\equiv 1\pmod{8}$ so $8|n$ but I can't show $7|n$. How do I show this?  Thanks for the help. $d_1(x_1,y_1)$ and  $d_2(x_2,y_2)$ are metric on $X$ and $d(x,y)$ is defined as: $$d(x,y)= \sqrt{d_1(x_1,y_1)^2+d_2(x_2,y_2)^2}.$$ I am trying to show this is a metric. Can you give me some clue about proving the triangle inequality for $d$ ? Thank you for your help. Disable chat migration notification if one of the users has insufficient rep? Simple request, really.  Can we add a detection for the     Please avoid extended discussions in   comments. Would you like to   automatically move this discussion to   chat?   prompt, so that if one of the users in the "extended discussion" has under 20 rep it doesn't appear?  I think a lot of the users this apply to will have low rep and it may take some back and forth to get good info out of them.  New suggestion: how about if a sufficiently high-rep user is clicking on the link, the low-rep user gets a field promotion sufficient to chat? Low-rep users are particularly prone to post questions to lead in this direction of needing to move to chat. Help + Noun + Gerund or Infinitive How can you accelerate without moving? What does "All things X" mean? I've seen the expression in some company names; for example , .  Is the expression "All things X" a parody of some other popular phrase, or does it have its own meaning? Or is it just a misuse of grammar?