Changes between Version 1 and Version 2 of Ticket #1002


Ignore:
Timestamp:
Nov 13, 2017, 11:06:44 AM (6 years ago)
Author:
Nicklas Nordborg
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1002 – Description

    v1 v2  
    66
    77It should be possible to write the `find` commands so that it ignore non-accessible files.
     8
     9The first `find` command that is looking for directories could simply use the `-executable` filter to get rid of the permission issue.
     10
     11The second `find` command that is looking for files we need to use something like:
     12
     13`-type d ! -executable -prune , -type f -readable`
     14
     15The first part (-type d ! -executable -prune) should exclude all directories that are not executable. The seconds part will then match all files that are readable.