Re: [dev] [sbase] Command list

From: sin <sin_AT_2f30.org>
Date: Fri, 18 Oct 2013 15:01:05 +0300

On Fri, Oct 18, 2013 at 01:40:29PM +0200, Roberto E. Vargas Caballero wrote:
> > 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.

Not UNIX.

> > 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):

I realize when xargs is useful, I just hate it.
Received on Fri Oct 18 2013 - 14:01:05 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 18 2013 - 14:12:08 CEST