[p4] How do I obliterate a whole directory tree?
Jeff Jensen
jeffjensen at upstairstechnology.com
Tue Aug 8 17:20:39 PDT 2006
You just don't know enough about Perforce yet. The docs discuss file paths.
"*" means the files in that dir and no subdirs. "..." means current dir and
below.
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of P4 User
Sent: Tuesday, August 08, 2006 6:43 PM
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