Is there a command line one-liner to move all the contents of all the direct subfolders of a folder to the folder itself and deleting the subfolders (which are now empty)? I.e., eliminate a level in the folder hierarchy?  To be absolutely clear, the deeper subfolder structure should be preserved.  I've run into this a couple of times now, and I was a little disappointed this doesn't seem to be a feature of Dolphin, nor something other people are struggling with.  I suspect this may have to be split in two, moving the contents of the subfolders, and deleting the subfolders. However, this may have the undesired side-effect of deleting empty second-level sub-folders.
I've bunch of folders in folder A. I want to move files from all those folders to A.  Or  I want to cut all files from child folders and paste them in parent folder.  How to do that?
I am able to backup my app's data from the root/data/data/you.package.name directory by just moving it to SD card manually. however, when i reverse the process,                                                                                                               AKA paste the data back to simulate a restore, the app just force closes, i have tried it with a bunch of apps and noticed the same reaction. Where am i wrong? Why isn't Obi-Wan's ghost young? One of the changes made to the Special Editions of Star Wars: Episode VI: Return of the Jedi was at the end of the film.  Luke sees 3 ghosts during the celebration on the forest moon of Endor, Yoda, Anakin, and Obi-Wan.  In the Special Editions, the actor who played Anakin earlier in the film, Sebastian Shaw, is replaced with Hayden Christiansen who played young Anakin in Episodes 2 and 3.  My question is, why is Anakin the only one de-aged?  Shouldn't Obi-Wan also be his younger self, along with Yoda? Are all algebraic integers with absolute value 1 roots of unity? Let's say you have the ability to shine some light into a perfectly round sphere and the sphere's interior surface was perfectly smooth and reflective and there was no way for the light to escape.  If you could observe the inside of the sphere, what would you observe? A glow? And would temperature affect the outcome?  Seems silly, it's just something I've always thought about but never spent enough time (until now) to actually find an answer. "done" vs "have done" $ \int_{0}^{ \infty} \int_{0}^{ \infty} \frac { e^{-(x+y)}}{x+y} dx dy $ Question : The integral   $$ \int_{0}^{ \infty} \int_{0}^{ \infty} \frac { e^{-(x+y)}}{x+y} \mathop{dx}\mathop{dy} $$  is   (a) infinite   (b) finite but can not be evaluated in closed form   (c) 1  (d) 2 .  I tried substituting $u=x+y$ and $v=y$ that led me no where . I'm not even sure about convergence of integral .Any help would be greatly appreciated . Air friction at supersonic velocities I have dual boot configured with Windows 7 (32bit) and Ubuntu 12.04(64bit). I installed Ubuntu after windows, now my windows is corrupt due to some virus and I need to reinstall it. Currently when I start my PC, grub loader comes up and I need to select Ubuntu or Windows.   I was wondering how can I install windows again and still have my Ubuntu install? Is there a way to do this?  I do not want to install Ubuntu again and lose my settings and data there.   Thanks, Ketan How to reduce the spacing between responses in the alterqcm package? This question has a continuation here   The alterqcm package is no longer maintained by Alain Matthes. Two other developers maintain it. I wrote to them 15 days ago by email to report the error reported here:  I have not received a reply. I am trying to reduce the spacing between the lines of the QCM as indicated in  by @Werner and it does not work. In addition, by using the David Carlisle's code given in , I get an X instead of a square.  Full code of the screenshot: \documentclass[12pt]{article} %\usepackage[utf8]{inputenc} %\usepackage[upright]{fourier} \usepackage{etoolbox}% http://ctan.org/pkg/etoolbox \usepackage[english]{alterqcm} \def\square{X} % &lt;---------- David Carlisle comment \def\nogreekalph{??} % &lt;---- David Carlisle comment \parindent0pt \begin{document} % Original display \begin{alterqcm}[lq=8cm]  \AQquestion{Question}{%  {Proposition 1},  {Proposition 2},  {Proposition 3}} \end{alterqcm}  \bigskip  % Smashed display !!!!!! Dont work now  {\begin{alterqcm}[lq=8cm]  \AQquestion{Question}{%  {\smash{Proposition 1}},  {\smash{Proposition 2}},  {\smash{Proposition 3}}} \end{alterqcm}}  \bigskip  % Global smashed display !!!! Dont work now  \makeatletter \patchcmd{\aq@prop}{\vbox{#1}}{\vbox{\smash{#1}}}{}{}% patch \aq@prop \makeatother \begin{alterqcm}[lq=8cm]  \AQquestion{Question}{%  {Proposition 1},  {Proposition 2},  {Proposition 3}} \end{alterqcm}  \end{document}  Is there a solution? What is the difference between .pem, .csr, .key and .crt and other such file extensions? I'm new to SSL / TLS and I want to work with the OpenSSL toolkit.  I don't know what .pem and .csr stands for?  I do know that .key is the private key and .crt is the public key. Hint proving this $\sum_{k=0}^{n}\binom{2n}{k}k=n2^{2n-1}$ I need hint proving this $$\sum_{k=0}^{n}\binom{2n}{k}k=n2^{2n-1}$$ $\text{Tor}_0^R(M,N)\simeq M\otimes_R N$ I'm trying to understand why $\text{Tor}_0^R(M,N)\simeq M\otimes_R N$.  Let $\dots\to F_1\to F_0\to M\to 0$ be a free resolution of $M$. Then $$ F_1\to F_0\to M\to 0$$ is exact. Hence $$ F_1\otimes_R N\to F_0\otimes_R N\to M\otimes_R N\to 0$$ is exact. Call the left map $f_1$ and the right map $f_0$. Then $M\otimes N\simeq F_0\otimes N/\ker (f_0)\simeq F_0\otimes N/\text{im}(f_1)$.  But if I understand the definition correctly, to show the result we need that $M\otimes N\simeq H_0(\mathcal F)=\ker f_0/\text{im}(f_1)$. But why does $\ker f_0=F_0\otimes N$? If it does at all... Javascript - Change html tag type Suppose $\lim \limits_{n \to ∞} a_n=L$. Prove that $\lim\limits_{n \to ∞} \frac{a_1+a_2+\cdots+a_n}{n}=L$ I want to install Win Xp on my Ideapad Z 570 laptop but i always get blue screen with message with some drive related problem which asks me to run CHKDSK command. I tried with that but no luck. Is there any way i can install Win Xp with SP 2 ?  Edit: i searched across the sites and came to know there could be some Compatibility problems, and i could fix it by setting HDD mode to IDE; will it solve the problem? Ubuntu 11.10 is installed, and I have updated my system via Ubuntu Software Centre, and after the update 3 updates remain in the list. But I am unable to select them, the tickboxes cannot be checked and Ubuntu Software Centre gives no error when I try to check.  Also, below it says "There is no update to be installed" and even though there seems to be updates Install Updates button is unclickable.  What should I do in order to install these updates? Ring homomorphism and characteristic How do I summon the Golem boss? Is it still possible to install Ubuntu to an external harddrive with UEFI? It looks like  isn't possible with UEFI, where as with MBR there wasn't a big difference between external and internal. Is that true or is it still possible?  Is it even possible to combine both boot methods? Bash terminal not wrapping text correctly I am using the gnome-terminal with bash, and when I have a command that should go over the line, it just stays on the same line. So instead of:  echo "abcdefghijklmnopqrstuvwxyz"   I would get  opqrstuvwxyz""abcdefghijklmn   Or something similar to that. However, if I press enter the command will still work. I believe it has something to do with my PS1 variable, but I don't know what is wrong with it. Here it is:  export PS1='\e[1;35m[\u:\w]\$\e[0;35m '