Mailinglist Archive: opensuse (3217 mails)

< Previous Next >
Re: [opensuse] Undoing a delete
  • From: Aaron Kulkis <akulkis00@xxxxxxxxxx>
  • Date: Sun, 18 Nov 2007 15:26:21 -0500
  • Message-id: <47409FED.3080705@xxxxxxxxxx>
Josef Assad wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aaron Kulkis wrote:
Bryen wrote:
I did a
find . -name -exec rm \{\}\;

Just curious; what use cases are there for calling find with -name
without a pattern for -name?


ooops. that should have been
find . -print -exec rm \{\}\;


I *SHOULD have done

find /tmp -name rm \{\} \;

This one too; looks to me like the pattern being passed to -name is rm
itself...

find /tmp -print rm \{\} \;


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >