Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • on what system you are ? you should always use find like this find /search_directory options omiting the search directory is not a good idea Commented Feb 19, 2014 at 9:22
  • Automated deleting like this is a bad idea. You could have a script give you candidates, which you should then look at to make sure you are not deleting anything important or necessary to the system. You aren't explicit where you are running this. If you are only doing this in a user space, I suppose it can't do much harm, but you should make sure you are not doing this in a system area accidentally. You definitely want to run such a script as user. Commented Feb 19, 2014 at 9:43
  • @Kiwy,@FaheemMitha, the command will only be used in the project directoty; it will not do any harm there. Commented Feb 19, 2014 at 10:29
  • Related: stackoverflow.com/questions/22462124/… Commented Aug 29, 2019 at 10:43