Open thinhbgnex opened 4 years ago
Example files tree
files subDir folder1 child1.txt folder2 file1 //this is a file without extension file2.txt
command
del(['./files/subDir/**', '!./files/subDir/file1']
Result: all files in folder files were deleted.
Expected after deletion:
files subDir file1
@thinhbgnex try using ./files/subDir/* instead.
./files/subDir/*
Example files tree
command
del(['./files/subDir/**', '!./files/subDir/file1']
Result: all files in folder files were deleted.
Expected after deletion: