beta.blog

Linux (Ubuntu)

Ubuntu: Delete directories which contain files

by on Jul.28, 2010, under Linux (Ubuntu)

If you’re trying to remove a directory using the rmdir command, you might get an error alerting you, that the desired directory contains files and therefore can’t get deleted. Anyway, there’s an easy solution solving this issue:

rm -rf /tmp/myFolder
5 Comments more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!