| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 8 months |
| seen | May 16 at 8:27 | |
| stats | profile views | 12 |
|
Sep 11 |
awarded | Yearling |
|
Aug 28 |
comment |
how to find (and delete) all empty directory in my home directory recursively? @Santosh: You can use something like this: find "$HOME" -type d \! -path "$HOME/project/*" -empty -delete. The ! operator (or the escaped \!) returns false if the following expression is true. In effect, it excludes the ~/project directory. Note that if ~/project is empty, it will be deleted. |
|
Aug 25 |
comment |
how to find (and delete) all empty directory in my home directory recursively? @jordanm: You're quit right, I edited my answer accordingly. |
|
Aug 25 |
revised |
how to find (and delete) all empty directory in my home directory recursively? added 16 characters in body |
|
Aug 25 |
comment |
how to find (and delete) all empty directory in my home directory recursively? @Santosh: The command as it is, is meant to be run from your home directory (that's why I added ~$ in the beginning). If you want to run it regardless of your working directory, use "$HOME" instead of . as jordanm suggested in his answer. |
|
Aug 25 |
answered | how to find (and delete) all empty directory in my home directory recursively? |
|
Apr 14 |
awarded | Editor |
|
Apr 14 |
revised |
How to remove the “Received: from” from an e-mails source? added 242 characters in body |
|
Apr 14 |
answered | How to remove the “Received: from” from an e-mails source? |
|
Mar 13 |
answered | Exit Google Chrome from terminal |
|
Oct 12 |
comment |
Why can't I change permission on a symlink on Mac? Permissions on symbolic links have no effect. Check the permissions on the target file/directory. |
|
Oct 10 |
awarded | Enthusiast |
|
Sep 24 |
answered | How do I leave a message for another (local) user? |
|
Sep 22 |
awarded | Nice Answer |
|
Sep 22 |
answered | Why do directories need the executable (X) permission to be opened? |
|
Sep 22 |
awarded | Supporter |
|
Sep 22 |
awarded | Teacher |
|
Sep 22 |
answered | How to undelete/restore the deleted files in ubuntu linux |