It's vital to compose your find command and then verify the results before deleting. By adding a delete flag, you would remove potentially important directory structures. For instance, if you forget to include -type f in a search for empty files, you get directories in your results. Technically, you can use find to remove empty files, but programmatic removal of files is dangerous.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |