Suppose you have a folder with a lot of empty subfolders; in fact you don't know in which folder is the content you are looking for.
One way is to use a gui application baobab or qdirstat
But even then creating order in the chaos will be a tedious job.
Go in terminal to the main folder and do
$find . -type d -empty -delete
STumbling In Linux Land, STupid and Unlucky Pablo? The tribulations and happy discoveries of a Linux former Newbie, now bit more experienced user
Showing posts with label remove empty subfolders. Show all posts
Showing posts with label remove empty subfolders. Show all posts
Thursday, July 7, 2016
Subscribe to:
Posts (Atom)