DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+9 =
Submit