Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
find / -user oldname -exec chown newname:newgroup {} \;

Find and remove old dirs (jenkins workspaces)

Code Block
find /opt/jenkins/workspace -mindepth 1 -maxdepth 1  -type d -mtime +30 -print | xargs /bin/rm -Rf