How find and delete files older than 30 days Linux?

How find and delete files older than 30 days Linux?
Answer
Find and delete files older than X days in Linux
  1. dot (.) – Represents the current directory.
  2. -mtime – Represents the file modification time and is used to find files older than 30 days.
  3. -print – Displays the older files.
 

Tìm kiếm

Back
Top