Gabriel Kerneis <[email protected]> wrote: > posted the following one-liner to generate a single exclude-file > collecting the content of .exclude in sub-directories: > > On Sun, Mar 09, 2014 at 11:11:59AM +0000, Gabriel Kerneis wrote: > > find / -name .exclude -execdir xargs -a {} readlink -m \; > exclude.file
Beware that the above would allow a malicious user with write access to any directory to exclude any or all directories on the system simply by starting an entry with '/'
