find . (
! -path '.'
! -iname '.env'
! -path './config'
! -path './logs'
! -path './logs/*'
) -delete Delete except a file:
find . (
! -path '.'
! -iname 'index.php'
) -deleteCrafting Web Experiences
//
find . (
! -path '.'
! -iname '.env'
! -path './config'
! -path './logs'
! -path './logs/*'
) -delete Delete except a file:
find . (
! -path '.'
! -iname 'index.php'
) -delete