Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

select all folder except one in command line

find ./myfolder -mindepth 1 ! -regex '^./myfolder/test2(/.*)?' -delete
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #select #folder #command #line
ADD COMMENT
Topic
Name
8+9 =