[p4] How do I obliterate a whole directory tree?

P4 User p4user at gmail.com
Tue Aug 8 17:56:24 PDT 2006


Of course!  I forgot about the ellipsis...  Thanks!

On Tue, 08 Aug 2006 17:41:36 -0700, Steven Cogorno wrote:
>
> On Aug 8, 2006, at 4:43 PM, P4 User wrote:
>
>> I was trying to obliterate a directory.  The command "obliterate dir
>> \*"
>> didn't work, nor did "obliterate dir\*\*", etc.  Turns out you have to
>> obliterate each branch of the directory that contains files with a
>> series of
>> commands like "obliterate dir\*\*\*\*\*\*\*.*", followed by
>> "obliterate
>> dir\*\*\*\*\*\*.*", followed by "obliterate dir\*\*\*\*\*\*.*", etc.
>> Basically go out to the furthest level of the directory tree and
>> obliterate,
>> level by level, backwards, until all the files are gone.
>>
>> Surely I'm missing something.  How do I obliterate an entire
>> directory tree
>> with one command?
>
>
> p4 obliterate dir/...


More information about the perforce-user mailing list