Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    find command help

    Does anyone know how to list all files created or modified under a directory and sub direcotyr since mid night.

    Also if I wanted to display files more than 10 days old. Would the command be
    find /tmp +mtime?

  2. #2
    Linux Newbie
    Join Date
    Feb 2007
    San Antonio, TX
    find directory -mmin -num
    where num is the number of minutes ago midnight was (it's 7pm here, so I would use do "find directory -mmin -5040")

    for the 2nd part
    find directory -mtime +9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts