POV-Ray : Newsgroups : povray.off-topic : Adventures with digital painting : Re: Adventures with digital painting Server Time
15 Nov 2024 00:20:36 EST (-0500)
  Re: Adventures with digital painting  
From: Jim Henderson
Date: 8 Mar 2008 21:10:17
Message: <47d34709$1@news.povray.org>
On Sat, 08 Mar 2008 17:44:45 -0500, Warp wrote:

> Jim Henderson <nos### [at] nospamcom> wrote:
>> cd /tmp/stuff; find -type f | grep tmp$ | awk '{system("rm \"" $0
>> "\""))'
> 
>   Why does it need to be so complicated?
> 
>   find /tmp/stuff -name "*.tmp" -exec rm {} \;

Because there's a million ways to do it, and I haven't memorised all the 
options for the find command.

In the time that it would take me to look up the options for find, I've 
written the command-line out.

Jim


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.