You are not logged in.
Ah, yes, -delete can delete a directory and all of it's contents, but only if all of the contents also match the critieria. Progandy, it would be nonsense if it was incapable of doing this.
So -delete can do this, just not with the other options currently in play.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
find /mnt/seagate/ -maxdepth 1 -mtime +10 -regextype 'posix-minimal-basic' -type d ! -path /mnt/seagate -regex '.*/20[0-9]\{2\}-[0-9][0-9]-[0-9][0-9]$' -exec echo rm -r {} +
gives me the fizz ...
Seriously though - thanks a lot for the tips guys, and for not getting too high-and-mighty (like some other forums I've used). You have shone a light on some new learning paths for me.
Offline