Let's say that I have a directory
/home/smit/test. Inside it I have many subdirectories and files. I want to remove only the Directory
/home/smit/test and not its inner content, So that files and subdirectories of
/home/smit/test will automatically be included in
Also, in a real case I have
/usr/share/backgrounds/all/ directory which has many subdirectories. and theses sub directories have lots of images. I want to remove all subdirectories So that their contents will be included in
/usr/share/backgrounds/all/. I can do this with GUI but I want to do it with cool way by terminal. How can I do it?