shopt -s extglob # Enable extended pattern matching
rm -rf !(folder) # Delete everything except the 'folder' directory
shopt -u extglob # Disable extended pattern matching (optional)
# Log in as root su - root # Execute opatchauto against the unzipped patch directory /u01/app/19.0.0/ grid /OPatch/opatchauto apply /tmp/pat...
No comments:
Post a Comment