I am trying to find directories older than 150 days and change their ownership as root. Please can you advice on how do i fix the below pls?
find /mnt/mailfolder/ -maxdepth 1 -type d -mtime +150 -printf "%P\n" -exec "chown -R oracle:oinst
find: missing argument to `-exec'