Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Not understanding find command.

  1. #11
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Not understanding find command.

    Quote Originally Posted by NertSkull View Post
    Anyone know if that post I linked to applies to ubuntu (kubuntu 12.04) as well?
    It certainly does.

    Most Linux system use GNU tools which include 'find'. Although CentOS 5.9 is old, so it should be running a previous version than 12.04, the core concepts are the same.

    With that in mind, you could do:
    Code:
    find /path/to/folder/ -type f \( -mtime 10 -or -mtime +10 \)
    or just:
    Code:
    find /path/to/folder/ -type f -mtime +9
    Regards.

  2. #12
    Join Date
    Sep 2009
    Location
    USA
    Beans
    444
    Distro
    Kubuntu

    Re: Not understanding find command.

    Cool. That helped get everything working.

    Thanks all!

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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