Re: Using the find command

2012-06-19 Thread Cam Hutchison
Alan Chandler writes: >At one point it does > clean /run "! -xtype d ! -name utmp ! -name innd.pid" || ES=1 > clean /run/lock "! -type d" || ES=1 > clean /run/shm "! -type d" || ES=1 >which looks as though (with the "! - xtype d...") that its trying not to >recurse down the subdire

Re: Using the find command

2012-06-19 Thread Alan Chandler
On 19/06/12 19:42, Shane Johnson wrote: Alan, from what I can see, it's just supposed to delete files and not touch directories, any files name utmp or innd.pid. the ! prefixing the tests negates the test to pull the opposite. By using xtype it's just handling links differently. This command s

Re: Using the find command

2012-06-19 Thread Shane Johnson
Alan, from what I can see, it's just supposed to delete files and not touch directories, any files name utmp or innd.pid. the ! prefixing the tests negates the test to pull the opposite. By using xtype it's just handling links differently. This command shouldn't be deleting your udev directory.