[p4] How do I obliterate a whole directory tree?
Paul Goffin
Paul.Goffin at aepnetworks.com
Wed Aug 9 01:00:24 PDT 2006
'P4 speak' for "and all below" is
"..."
Hence:
"p4 obliterate dir\..." will do what you want.
Paul.
-----Original Message-----
From: P4 User [mailto:p4user at gmail.com]
Sent: 09 August 2006 00:43
To: perforce-user at perforce.com
Subject: [p4] How do I obliterate a whole directory tree?
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? _______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list