Find Command: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

20 June 2024

  • curprev 06:1406:14, 20 June 2024Qljca talk contribs 341 bytes +341 Created page with "==Find and Delete Files with Specific Extension== <pre> find /var/log -name "*.log" -type f -mtime +30 -delete </pre> ==Find and Delete Files older Than 30 Days== <pre> find /opt/backup -type f -mtime +30 -delete </pre> ==Delete Directory older than 30 days Recursively== <pre> find /var/log -type d -mtime +30 -exec rm -rf {} \; </pre>"