Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete all folders except one linux

find * -maxdepth 0 -name 'b' -prune -o -exec rm -rf '{}' ';'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #folders #linux
ADD COMMENT
Topic
Name
9+5 =