Thread: find command

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2001
    Location
    Svizzera
    Posts
    69
    Rep Power
    13

    find command


    i use the command:
    find /home/ -type d -mtime -10
    and it prints out e.g
    /home/john
    /home/john/kde


    my Question
    what do i have to do that it dont shows tha line with kde?

    I mean i wanna find the directories that are newer then 10 days but i dont wanna get the result with the kde-directory in it
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    Append ! -name kde like so:

    find /home -type d \! -name kde -mtime -10

IMN logo majestic logo threadwatch logo seochat tools logo