On 2020-01-17 22:32, Carlos E. R. wrote:
On 17/01/2020 21.55, Bernhard Voelker wrote: | On 2020-01-17 20:42, Carlos E. R. wrote: |> Seems to be working. | | FWIW: often one knows that the search should stay on the current | file system. Therefore, I often use -xdev or -mount. | | $ find / -xdev ! -type f -prune ...
Yes, but it is not the case, I'm searching all disks except the backup directories.
(still running, by the way)
Well, you know your mount points - you can pass them as arguments. ;-) $ find /home /data -xdev ... Re. the search for scripts: they are usually executable; and the search can probably also limited to files with a size < 100K. If you are sure you don't have strange file names, then this would do: $ find /home /data -xdev -type f -executable -size -100000c -exec file '{}' + | grep -i script Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org