Re: delete directories with find and exclude other directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 02/03/2016 10:11 AM, m.roth@xxxxxxxxx wrote:
find . -type d ! -name logs -prune

That will prune all of the directories whose name is not "logs", starting with "."

So... not terribly useful.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux