> dd: I suspect this might not be portable if we want an optimized version.
> find: Useless, just do `du -a | grep blabla'
and a 'find -type d -name xxxx -prune -o -type f -perm g=x -exec chmod g-x {}
\; '?
find is a mini language for run over directories, and it is a must.
> xargs: Why?
if you have a directory with a very, very, very, very large number of files and
then you try a 'rm *' you will see why you need xargs. I use it a lot in
combination
with find. For example in the previous example a better way (faster):
find -type d -name xxxx -prune -o -type f -perm g=x | xargs chmod g-x
Regards,
--
Roberto E. Vargas Caballero
_______________________________________________________________________
'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'
(Doug McIlroy)
In Other Words - Don't design like polkit or systemd
_______________________________________________________________________